dip.judge.parser
Class AdjustmentParser.AdjustInfo

java.lang.Object
  extended bydip.judge.parser.AdjustmentParser.AdjustInfo
Enclosing class:
AdjustmentParser

public static class AdjustmentParser.AdjustInfo
extends java.lang.Object

An AdjustInfo object is created for each power, and contains adjustment information


Constructor Summary
AdjustmentParser.AdjustInfo(java.lang.String power, int numSC, int numUnits, int toBuildOrRemove)
          Create an AdjustInfo object
 
Method Summary
 int getNumBuildOrRemove()
          Number of units to build or remove
 int getNumSupplyCenters()
          Current number of supply centers
 int getNumUnits()
          Current number of units
 java.lang.String getPowerName()
          Name of the Power
 java.lang.String toString()
          String output for debugging; may change between versions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AdjustmentParser.AdjustInfo

public AdjustmentParser.AdjustInfo(java.lang.String power,
                                   int numSC,
                                   int numUnits,
                                   int toBuildOrRemove)
Create an AdjustInfo object

Method Detail

getPowerName

public java.lang.String getPowerName()
Name of the Power


getNumSupplyCenters

public int getNumSupplyCenters()
Current number of supply centers


getNumUnits

public int getNumUnits()
Current number of units


getNumBuildOrRemove

public int getNumBuildOrRemove()
Number of units to build or remove


toString

public java.lang.String toString()
String output for debugging; may change between versions.



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