| Package | Description |
|---|---|
| com.jonathan.survivor.entity | |
| com.jonathan.survivor.inventory |
| Modifier and Type | Method and Description |
|---|---|
MeleeWeapon |
Player.getMeleeWeapon()
Returns the melee weapon that the player has equipped.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Axe |
| Modifier and Type | Method and Description |
|---|---|
MeleeWeapon |
Loadout.getMeleeWeapon()
Gets the MeleeWeapon held in the loadout.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Loadout.setMeleeWeapon(MeleeWeapon meleeWeapon)
Sets the MeleeWeapon held in the loadout.
|
| Constructor and Description |
|---|
Loadout(MeleeWeapon meleeWeapon)
Creates a loadout with the given items.
|