Class ShopCapa

java.lang.Object
jadex.bdi.shop.ShopCapa

public class ShopCapa extends Object
  • Field Details

    • shopname

      protected String shopname
      The shop name.
    • catalog

      protected List<ItemInfo> catalog
      The shop catalog.
  • Constructor Details

    • ShopCapa

      public ShopCapa(String shopname, List<ItemInfo> catalog)
      Create a shop capability.
  • Method Details

    • getMoney

      public double getMoney()
    • setMoney

      public void setMoney(double money)
    • getShopname

      public String getShopname()
      Get the shop name.
    • getCatalog

      public List<ItemInfo> getCatalog()
      Get the catalog.
    • sell

      public void sell(ShopCapa.SellGoal goal)
      Plan for handling a sell goal.
      Parameters:
      goal - The goal.