Class AbstractAggregateDumpTradeStep

  • All Implemented Interfaces:
    ch.sahits.game.openpatrician.model.product.ITradeStep
    Direct Known Subclasses:
    AggregatesDumpTradeStep, AmountBasedAggregatedDumpTradeStep

    public abstract class AbstractAggregateDumpTradeStep
    extends java.lang.Object
    implements ch.sahits.game.openpatrician.model.product.ITradeStep
    Base trade step for dumping various wares, instead of selling them.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2016 Created on Jul 24, 2016
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addSellStep​(ch.sahits.game.openpatrician.model.product.IWare ware)  
      boolean execute()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AbstractAggregateDumpTradeStep

        public AbstractAggregateDumpTradeStep()
    • Method Detail

      • addSellStep

        public void addSellStep​(ch.sahits.game.openpatrician.model.product.IWare ware)
      • execute

        public boolean execute()
        Specified by:
        execute in interface ch.sahits.game.openpatrician.model.product.ITradeStep
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object