Interface IShopService

All Known Implementing Classes:
ShopService

public interface IShopService
The shop interface for buying goods at the shop.
  • Method Summary

    Modifier and Type
    Method
    Description
    jadex.future.IFuture<ItemInfo>
    buyItem(String item, double price)
    Buy an item.
    jadex.future.IFuture<ItemInfo[]>
    Get the item catalog.
    Get the shop name.
  • Method Details

    • getName

      String getName()
      Get the shop name.
      Returns:
      The name.
    • buyItem

      jadex.future.IFuture<ItemInfo> buyItem(String item, double price)
      Buy an item.
      Parameters:
      item - The item.
    • getCatalog

      jadex.future.IFuture<ItemInfo[]> getCatalog()
      Get the item catalog.
      Returns:
      The catalog.