games.strategy.triplea.delegate
Class BidPlaceDelegate
java.lang.Object
games.strategy.triplea.delegate.AbstractPlaceDelegate
games.strategy.triplea.delegate.BidPlaceDelegate
- All Implemented Interfaces:
- IDelegate, IRemote, IAbstractPlaceDelegate
public class BidPlaceDelegate
- extends AbstractPlaceDelegate
| Methods inherited from class games.strategy.triplea.delegate.AbstractPlaceDelegate |
canUnitsBePlaced, end, getData, getDisplayName, getName, getPlaceableUnits, getPlacementsMade, getProduction, getRemoteType, getTerritoriesWhereAirCantLand, getUnitsToBePlacedSea, initialize, initialize, isUnitPlacementInEnemySeas, isValidPlacement, isWW2V2, loadState, placeUnits, saveState, start, undoLastPlacement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BidPlaceDelegate
public BidPlaceDelegate()
getMaxUnitsToBePlaced
protected int getMaxUnitsToBePlaced(Territory to,
PlayerID player)
checkProduction
protected java.lang.String checkProduction(Territory to,
java.util.Collection<Unit> units,
PlayerID player)
- Description copied from class:
AbstractPlaceDelegate
- Test whether or not the territory has the factory resources to support
the placement. AlreadyProduced maps territory->units already produced
this turn by that territory.
- Overrides:
checkProduction in class AbstractPlaceDelegate
canProduce
protected java.lang.String canProduce(Territory to,
java.util.Collection<Unit> units,
PlayerID player)
- Description copied from class:
AbstractPlaceDelegate
- Test whether or not the territory has the factory resources to support
the placement. AlreadyProduced maps territory->units already produced
this turn by that territory.
- Overrides:
canProduce in class AbstractPlaceDelegate
getMaxUnitsToBePlaced
protected int getMaxUnitsToBePlaced(java.util.Collection<Unit> units,
Territory to,
PlayerID player)
- Overrides:
getMaxUnitsToBePlaced in class AbstractPlaceDelegate
getUnitsToBePlacedLand
protected java.util.Collection<Unit> getUnitsToBePlacedLand(Territory to,
java.util.Collection<Unit> units,
PlayerID player)
- Overrides:
getUnitsToBePlacedLand in class AbstractPlaceDelegate