| Package | Description | 
|---|---|
| com.jonathan.survivor.entity | |
| com.jonathan.survivor.inventory | |
| com.jonathan.survivor.managers | 
| Modifier and Type | Method and Description | 
|---|---|
<T extends Item>  | 
ItemObject.spawn(float x,
     float y,
     float velocityMultiplier,
     Human.Direction direction)
Spawns the item at the given position. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Item | 
ItemObject.getItem()
Gets the item represented by the ItemObject. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ItemObject.setItem(Item item)
Sets the item the GameObject contains and displays. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
Axe  | 
class  | 
Bullet  | 
class  | 
Charcoal  | 
class  | 
Craftable  | 
class  | 
Gunpowder  | 
class  | 
Iron  | 
class  | 
MeleeWeapon  | 
class  | 
RangedWeapon  | 
class  | 
Rifle  | 
class  | 
Saltpeter  | 
class  | 
Sulfur  | 
class  | 
Teleporter  | 
class  | 
Water  | 
class  | 
Weapon  | 
class  | 
Wood  | 
| Modifier and Type | Method and Description | 
|---|---|
<T extends Item>  | 
Inventory.addItem(java.lang.Class<T> itemClass,
       int quantity)
Adds the Item of the given class inside the Inventory in the given quantity. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
<T extends Item>  | 
ItemManager.freeSprite(com.badlogic.gdx.graphics.g2d.Sprite sprite,
          java.lang.Class<T> itemClass)
Frees the specified sprite instance back inside an internal pool for later reuse. 
 | 
<T extends Item>  | 
ItemManager.getSprite(java.lang.Class<T> itemClass)
Obtains an Sprite instance of the given class to display in an inventory. 
 | 
<T extends Item>  | 
ItemManager.obtainItem(java.lang.Class<T> itemClass)
Obtains an Item instance of the given class. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ItemManager.freeItem(Item item)
Frees an Item instance back into the manager's internal pools for later reuse. 
 |