ch.sahits.game.openpatrician.model.product.ITradeStepBuyTradeStep, CheckedBuyTradeSteppublic abstract class BaseBuyTradeStep
extends java.lang.Object
implements ch.sahits.game.openpatrician.model.product.ITradeStep
| Constructor | Description |
|---|---|
BaseBuyTradeStep() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
transferFromOfficeOrBuyFromCity(ch.sahits.game.openpatrician.model.IPlayer player,
int maxAmount) |
Try transferring the required amount from storage if there is a store manager and the transfer is allowed.
|
protected void transferFromOfficeOrBuyFromCity(ch.sahits.game.openpatrician.model.IPlayer player,
int maxAmount)
player - for which the transfer happensmaxAmount - maximum amount of wares that should be loaded onto the vessel.Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.