rl.common.game.elements
Class GameElementPaintingSummary

java.lang.Object
  extended by rl.common.game.elements.GameElementPaintingSummary
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InfantrySquadPaintingSummary, VehiclePaintingSummary

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

This class forms the basis for Painting Summary to be applied to an element after a painting attempt 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
GameElementPaintingSummary(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

GameElementPaintingSummary

public GameElementPaintingSummary(GameElement element,
                                  int turn)
Method Detail

getElementIdentifier

public GameElementIdentifier getElementIdentifier()

getTurn

public int getTurn()