games.strategy.twoIfBySea.delegate
Class PlaceDelegate

java.lang.Object
  extended by games.strategy.triplea.delegate.AbstractPlaceDelegate
      extended by games.strategy.twoIfBySea.delegate.PlaceDelegate
All Implemented Interfaces:
IDelegate, IRemote, IAbstractPlaceDelegate

public class PlaceDelegate
extends AbstractPlaceDelegate

Logic for placing units.

Author:
Sean Bridges

Field Summary
 
Fields inherited from class games.strategy.triplea.delegate.AbstractPlaceDelegate
m_data, m_produced
 
Constructor Summary
PlaceDelegate()
           
 
Method Summary
protected  int getProduction(Territory territory)
           
 
Methods inherited from class games.strategy.triplea.delegate.AbstractPlaceDelegate
canProduce, canUnitsBePlaced, checkProduction, end, getData, getDisplayName, getMaxUnitsToBePlaced, getName, getPlaceableUnits, getPlacementsMade, getRemoteType, getTerritoriesWhereAirCantLand, getUnitsToBePlacedLand, 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
 

Constructor Detail

PlaceDelegate

public PlaceDelegate()
Method Detail

getProduction

protected int getProduction(Territory territory)
Overrides:
getProduction in class AbstractPlaceDelegate
Returns:
gets the production of the territory, ignores wether the territory was an original factory