Class AbstractAI.MoveInfo
java.lang.Object
net.sf.colossus.ai.AbstractAI.MoveInfo
- Enclosing class:
AbstractAI
little helper to store info about possible moves
- Author:
- Romain Dolbeau Also contains extracted code from SimpleAI:, Bruce Sherrod, David Ripton, Romain Dolbeau Also contains extracted code from RationalAI:, Bruce Sherrod, David Ripton, Romain Dolbeau, Corwin Joy
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final int(package private) final MasterHexhex to move to.(package private) final Legion(package private) final int(package private) final ValueRecorder -
Constructor Summary
ConstructorsConstructorDescriptionMoveInfo(Legion legion, MasterHex hex, int value, int difference, ValueRecorder why) -
Method Summary
-
Field Details
-
legion
-
hex
hex to move to. if hex == null, then this means sit still. -
value
final int value -
difference
final int difference -
why
-
-
Constructor Details
-
MoveInfo
MoveInfo(Legion legion, MasterHex hex, int value, int difference, ValueRecorder why)
-