Class CustomerCapability


  • public class CustomerCapability
    extends java.lang.Object
    Customer capability.
    • Field Detail

      • inventory

        protected java.util.List<ItemInfo> inventory
        The inventory.
    • Constructor Detail

      • CustomerCapability

        public CustomerCapability()
        Called when the agent is started.
    • Method Detail

      • getMoney

        public double getMoney()
        Get the money.
      • setMoney

        public void setMoney​(double money)
        Set the money.
      • getCapability

        public ICapability getCapability()
        Returns:
        the capa