dip.process
Class Adjustment.AdjustmentInfo

java.lang.Object
  extended bydip.process.Adjustment.AdjustmentInfo
Enclosing class:
Adjustment

public static class Adjustment.AdjustmentInfo
extends java.lang.Object

Class containing various information about Adjustments, for a given Power


Constructor Summary
protected Adjustment.AdjustmentInfo(RuleOptions ruleOpts)
          Construct an AdjustmentInfo object
 
Method Summary
 int getAdjustmentAmount()
          # of units to adjust (+/0/-) from current unit count.
 int getDislodgedUnitCount()
          # of dislodged units for this power
 int getHomeSupplyCenterCount()
          # of home supply centers
 int getSupplyCenterCount()
          # of supply centers for this power (includes home supply centers)
 int getUnitCount()
          # of units for this power
 java.lang.String toString()
          mostly for debugging
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Adjustment.AdjustmentInfo

protected Adjustment.AdjustmentInfo(RuleOptions ruleOpts)
Construct an AdjustmentInfo object

Method Detail

getAdjustmentAmount

public int getAdjustmentAmount()
# of units to adjust (+/0/-) from current unit count. If units cannot be built, because supply center is occupied, that is taken into account


getUnitCount

public int getUnitCount()
# of units for this power


getDislodgedUnitCount

public int getDislodgedUnitCount()
# of dislodged units for this power


getSupplyCenterCount

public int getSupplyCenterCount()
# of supply centers for this power (includes home supply centers)


getHomeSupplyCenterCount

public int getHomeSupplyCenterCount()
# of home supply centers


toString

public java.lang.String toString()
mostly for debugging



Copyright 2002-2004 Zachary DelProposto / jDip Development Team. All Rights Reserved.