Class CheckedTransferToOfficeTradeStep

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

    public class CheckedTransferToOfficeTradeStep
    extends java.lang.Object
    implements ch.sahits.game.openpatrician.model.product.ITradeStep
    Trade step for transferring certain amounts of wares to the store if it can be stored and there is a store manager, to sell them. If there is no trading office or store manager nothing happens.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2017 Created on Oct 20, 2017
    • Constructor Detail

      • CheckedTransferToOfficeTradeStep

        public CheckedTransferToOfficeTradeStep()
    • Method Detail

      • 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