Class AmountBasedAggregatedDumpTradeStep

  • All Implemented Interfaces:
    ch.sahits.game.openpatrician.model.product.ITradeStep

    public class AmountBasedAggregatedDumpTradeStep
    extends AbstractAggregateDumpTradeStep
    This dump sell step is conditional based on the amount of loaded wares on the ship. It is best used with a preceding sell step and then use this dump step to check if there is too much wares loaded and to dump them.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2016 Created on Jul 24, 2016
    • Constructor Detail

      • AmountBasedAggregatedDumpTradeStep

        public AmountBasedAggregatedDumpTradeStep()
    • Method Detail

      • execute

        public boolean execute()
        Specified by:
        execute in interface ch.sahits.game.openpatrician.model.product.ITradeStep
        Overrides:
        execute in class AbstractAggregateDumpTradeStep