Package | Description |
---|---|
com.jonathan.survivor.hud |
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.
|