Package | Description |
---|---|
com.jonathan.survivor | |
com.jonathan.survivor.entity | |
com.jonathan.survivor.hud |
Modifier and Type | Method and Description |
---|---|
Inventory |
Profile.getInventory()
Retrieves the player's inventory, which contains all of the items collected by the player.
|
Modifier and Type | Method and Description |
---|---|
void |
Profile.setInventory(Inventory inventory)
Sets the player's inventory, which contains all of the items collected by the player.
|
Modifier and Type | Method and Description |
---|---|
Inventory |
Player.getInventory()
Gets the loadout which stores the items held by the player.
|
Modifier and Type | Method and Description |
---|---|
void |
Player.setInventory(Inventory inventory)
Sets the loadout which stores the items held by the player.
|
Constructor and Description |
---|
CraftingHud(com.badlogic.gdx.scenes.scene2d.Stage stage,
com.jonathan.survivor.World world,
Inventory inventory,
ItemManager itemManager)
Accepts the Stage instance where widgets are drawn, and the world, used to manipulate the world according to button presses.
|
CraftingTable(ItemManager itemManager,
Inventory inventory,
com.badlogic.gdx.scenes.scene2d.utils.ClickListener buttonListener)
Accepts the itemManager from which to retrieve the items' sprites, the inventory from which to retrieve the player's items,
the ClickListener to which button clicks will be delegated, and the height of the list.
|
InventoryList(ItemManager itemManager,
Inventory inventory,
com.badlogic.gdx.scenes.scene2d.utils.ClickListener buttonListener,
float height)
Accepts the itemManager from which to retrieve the items' sprites, the inventory from which to retrieve the player's items,
the ClickListener to which button clicks will be delegated, and the height of the list.
|