rl.centurion.game
Class ElementMovement

java.lang.Object
  extended by rl.centurion.game.ElementMovement
Direct Known Subclasses:
InfantrySquadMovement, VehicleMovement

public abstract class ElementMovement
extends java.lang.Object


Constructor Summary
ElementMovement(GameElement ge)
           
 
Method Summary
 Location getCurrentLocation()
           
 int getCurrentLocationIndex()
           
abstract  java.util.Vector<GameElementDamageSummary> getDamageSummaries()
           
 GameElement getElement()
           
 Location getFinalLocation()
           
abstract  java.util.Vector<Location> getLocations()
           
abstract  GameElementMovementSummary getMovementSummary()
           
 Location getPreviousLocation()
           
 Location nextLocation()
           
abstract  void removePendingMovement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementMovement

public ElementMovement(GameElement ge)
Method Detail

getLocations

public abstract java.util.Vector<Location> getLocations()

getDamageSummaries

public abstract java.util.Vector<GameElementDamageSummary> getDamageSummaries()

getMovementSummary

public abstract GameElementMovementSummary getMovementSummary()

removePendingMovement

public abstract void removePendingMovement()

getElement

public GameElement getElement()

getCurrentLocationIndex

public int getCurrentLocationIndex()

getCurrentLocation

public Location getCurrentLocation()

getPreviousLocation

public Location getPreviousLocation()

nextLocation

public Location nextLocation()

getFinalLocation

public Location getFinalLocation()