Class InventoryDisplayManager
java.lang.Object
com.csse3200.game.components.inventory.InventoryDisplayManager
-
Constructor Summary
ConstructorsConstructorDescriptionInventoryDisplayManager(com.badlogic.gdx.scenes.scene2d.Stage stage) Initialise the Inventory Display Manager -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInventoryDisplay(InventoryDisplay inventoryDisplay) Add an inventoryDisplay to the managervoidvoidRemove an inventoryDisplay to the managervoidremoveInventoryDisplay(InventoryDisplay inventoryDisplay) Remove an inventoryDisplay to the managervoidUpdate the position of the displays
-
Constructor Details
-
InventoryDisplayManager
public InventoryDisplayManager(com.badlogic.gdx.scenes.scene2d.Stage stage) Initialise the Inventory Display Manager- Parameters:
stage- to place display on
-
-
Method Details
-
addInventoryDisplay
Add an inventoryDisplay to the manager- Parameters:
inventoryDisplay- display to be added
-
removeInventoryDisplay
Remove an inventoryDisplay to the manager- Parameters:
inventoryDisplay- display to be removed
-
getInventoryDisplays
Remove an inventoryDisplay to the manager -
updateDisplays
public void updateDisplays()Update the position of the displays -
addTarget
-
addTargets
public void addTargets()
-