Interface ITradeRouteStop

  • All Known Implementing Classes:
    TradeRouteStop

    public interface ITradeRouteStop
    This interface defines a stop on a ITradeRoute. Each stop is associated with a ICity and a set of IWares that should be bought at that stop.
    • Method Detail

      • getTradeStop

        ICity getTradeStop()
        Which city is represented by this trade stop.
        Returns:
        city of the trade stop
      • getWaresToBuy

        java.util.Set<IWare> getWaresToBuy()
        Retrieve the wares that should be bought at this trade stop.
        Returns:
        set of wares to buy