Class CustomerManager

java.lang.Object
com.csse3200.game.components.npc.CustomerManager

public class CustomerManager extends Object
  • Constructor Details

    • CustomerManager

      public CustomerManager()
  • Method Details

    • addCustomer

      public static void addCustomer(String orderNumber, Entity customer)
      Add a customer to a specific order number
      Parameters:
      orderNumber - The order number
      customer - The customer entity
    • getCustomerByOrder

      public static Entity getCustomerByOrder(String orderNumber)
      Get the customer entity by the order number
      Parameters:
      orderNumber - The order number
      Returns:
      The customer entity
    • removeCustomerByOrder

      public static void removeCustomerByOrder(String orderNumber)
      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()