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 TypeMethodDescriptionvoid
addInventoryDisplay
(InventoryDisplay inventoryDisplay) Add an inventoryDisplay to the managervoid
void
Remove an inventoryDisplay to the managervoid
removeInventoryDisplay
(InventoryDisplay inventoryDisplay) Remove an inventoryDisplay to the managervoid
Update 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()
-