Class TradeRouteStop

    • Constructor Summary

      Constructors 
      Constructor Description
      TradeRouteStop()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setWaresToBuy​(java.util.Collection waresToBuy)
      Replace the wares to buy with the provided wares from the Collection.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • tradeStop

        private ICity tradeStop
      • waresToBuy

        private java.util.Set<IWare> waresToBuy
    • Constructor Detail

      • TradeRouteStop

        public TradeRouteStop()
    • Method Detail

      • setWaresToBuy

        public void setWaresToBuy​(java.util.Collection waresToBuy)
        Replace the wares to buy with the provided wares from the Collection.
        Parameters:
        waresToBuy - collection of ware to be bought