dip.process
Class Adjustment

java.lang.Object
  extended bydip.process.Adjustment

public class Adjustment
extends java.lang.Object

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

getAdjustmentInfo

public static Adjustment.AdjustmentInfo getAdjustmentInfo(TurnState turnState,
                                                          RuleOptions ruleOpts,
                                                          Power power)
Determines AdjustmentInfo for a given power

Note that this will work during any phase.


getAdjustmentInfo

public static Adjustment.AdjustmentInfoMap getAdjustmentInfo(TurnState turnState,
                                                             RuleOptions ruleOpts,
                                                             Power[] powers)
Determines AdjustmentInfo for all Powers;

Note that this will work during any phase.

Results are returned as an AdjustmentInfoMap



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