Package jadex.bdi.shop
Class CustomerCapability
java.lang.Object
jadex.bdi.shop.CustomerCapability
Customer capability.
-
Field Details
-
agent
protected jadex.core.IComponent agentThe agent. -
capa
protected jadex.bdi.runtime.ICapability capaThe capability. -
inventory
The inventory.
-
-
Constructor Details
-
CustomerCapability
public CustomerCapability()Called when the agent is started.
-
-
Method Details
-
getMoney
public double getMoney()Get the money. -
setMoney
public void setMoney(double money) Set the money. -
buyItem
Plan for buying an item. -
getCapability
public jadex.bdi.runtime.ICapability getCapability()- Returns:
- the capa
-