Class BuyWeaponTradeStep

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

    public class BuyWeaponTradeStep
    extends java.lang.Object
    implements ch.sahits.game.openpatrician.model.product.ITradeStep
    Trade step for buying weapons. Weapons can only be bought for ships not convoys. If the set vessel is a convoy, nothing will be bought.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2017 Created on Oct 19, 2017
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

      • BuyWeaponTradeStep

        public BuyWeaponTradeStep()
    • 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