Package com.csse3200.game.components.npc
Class CustomerManager
java.lang.Object
com.csse3200.game.components.npc.CustomerManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addCustomer
(String orderNumber, Entity customer) Add a customer to a specific order numberstatic Entity
getCustomerByOrder
(String orderNumber) Get the customer entity by the order numberstatic void
static void
removeCustomerByOrder
(String orderNumber) Remove the customer entity by the order numberstatic void
reset()
Reset map
-
Constructor Details
-
CustomerManager
public CustomerManager()
-
-
Method Details
-
addCustomer
Add a customer to a specific order number- Parameters:
orderNumber
- The order numbercustomer
- The customer entity
-
getCustomerByOrder
Get the customer entity by the order number- Parameters:
orderNumber
- The order number- Returns:
- The customer entity
-
removeCustomerByOrder
Remove the customer entity by the order number- Parameters:
orderNumber
- The order number
-
reset
public static void reset()Reset map -
printMessage
public static void printMessage()
-