rl.common.game.elements
Class GameElementMovementSummary

java.lang.Object
  extended by rl.common.game.elements.GameElementMovementSummary
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CapitalShipMovementSummary, InfantrySquadMovementSummary, VehicleMovementSummary

public class GameElementMovementSummary
extends java.lang.Object
implements java.io.Serializable

This class forms the basis for Movement Summary to be applied to an element after movement is resolved. It is designed to carry the summary information from the server to the client without having to resend the whole element.

See Also:
Serialized Form

Field Summary
(package private) static long serialVersionUID
           
 
Constructor Summary
GameElementMovementSummary(GameElement element, int turn)
           
 
Method Summary
 GameElementIdentifier getElementIdentifier()
           
 int getTurn()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

GameElementMovementSummary

public GameElementMovementSummary(GameElement element,
                                  int turn)
Method Detail

getElementIdentifier

public GameElementIdentifier getElementIdentifier()

getTurn

public int getTurn()