civquest.units
Class PossibleMovePath.PathStep

java.lang.Object
  extended bycivquest.units.PossibleMovePath.PathStep
Enclosing class:
PossibleMovePath

public class PossibleMovePath.PathStep
extends java.lang.Object

One step of a PossibleMovePath. This means, an object of this class stores a reference to a Field touched by a MovePath, together with some additionally information about the move that will end at the Field.


Constructor Summary
PossibleMovePath.PathStep(Field to, int speed, int turn, int time, boolean sure)
           
 
Method Summary
 int getSpeed()
           
 int getTime()
           
 Field getToField()
           
 int getTurn()
           
 boolean isSure()
           
 java.lang.String toString()
          Retrieve a String representation of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PossibleMovePath.PathStep

public PossibleMovePath.PathStep(Field to,
                                 int speed,
                                 int turn,
                                 int time,
                                 boolean sure)
Method Detail

getToField

public Field getToField()

getSpeed

public int getSpeed()

getTurn

public int getTurn()

getTime

public int getTime()

isSure

public boolean isSure()

toString

public java.lang.String toString()
Retrieve a String representation of this object

Returns:
a String representation of this object.
See Also:
Object.toString()