net.sf.colossus.ai
Class AbstractAI.MoveInfo

java.lang.Object
  extended by net.sf.colossus.ai.AbstractAI.MoveInfo
Enclosing class:
AbstractAI

protected class AbstractAI.MoveInfo
extends java.lang.Object

little helper to store info about possible moves


Field Summary
(package private)  int difference
           
(package private)  MasterHex hex
          hex to move to.
(package private)  Legion legion
           
(package private)  int value
           
(package private)  ValueRecorder why
           
 
Constructor Summary
AbstractAI.MoveInfo(Legion legion, MasterHex hex, int value, int difference, ValueRecorder why)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

legion

final Legion legion

hex

final MasterHex hex
hex to move to. if hex == null, then this means sit still.


value

final int value

difference

final int difference

why

final ValueRecorder why
Constructor Detail

AbstractAI.MoveInfo

AbstractAI.MoveInfo(Legion legion,
                    MasterHex hex,
                    int value,
                    int difference,
                    ValueRecorder why)