|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dip.process.Adjustment
Calculates Adjustments (how many units a power may build or must remove).
Nested Class Summary | |
static class |
Adjustment.AdjustmentInfo
Class containing various information about Adjustments, for a given Power |
static class |
Adjustment.AdjustmentInfoMap
Aggregation of HashMap that contains only AdjustmentInfo objects, mapped by Power. |
Method Summary | |
static Adjustment.AdjustmentInfo |
getAdjustmentInfo(TurnState turnState,
RuleOptions ruleOpts,
Power power)
Determines AdjustmentInfo for a given power Note that this will work during any phase. |
static Adjustment.AdjustmentInfoMap |
getAdjustmentInfo(TurnState turnState,
RuleOptions ruleOpts,
Power[] powers)
Determines AdjustmentInfo for all Powers; Note that this will work during any phase. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Adjustment.AdjustmentInfo getAdjustmentInfo(TurnState turnState, RuleOptions ruleOpts, Power power)
Note that this will work during any phase.
public static Adjustment.AdjustmentInfoMap getAdjustmentInfo(TurnState turnState, RuleOptions ruleOpts, Power[] powers)
Note that this will work during any phase.
Results are returned as an AdjustmentInfoMap
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |