Class AggregatesCheckedSellTradeStep
- java.lang.Object
-
- ch.sahits.game.openpatrician.engine.player.tradesteps.AggregatesCheckedSellTradeStep
-
- All Implemented Interfaces:
ch.sahits.game.openpatrician.model.product.ITradeStep
public class AggregatesCheckedSellTradeStep extends java.lang.Object implements ch.sahits.game.openpatrician.model.product.ITradeStepTrade step aggregating several wares to sell.
-
-
Constructor Summary
Constructors Constructor Description AggregatesCheckedSellTradeStep()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSellStep(ch.sahits.game.openpatrician.model.product.IWare ware, int amount)booleanexecute()java.lang.StringtoString()
-
-
-
Method Detail
-
addSellStep
public void addSellStep(ch.sahits.game.openpatrician.model.product.IWare ware, int amount)
-
execute
public boolean execute()
- Specified by:
executein interfacech.sahits.game.openpatrician.model.product.ITradeStep
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-