rl.common.game.elements
Class GameElementDamageSummary

java.lang.Object
  extended by rl.common.game.elements.GameElementDamageSummary
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CapitalShipDamageSummary, CapitalShipMissileDamageSummary, InfantrySquadDamageSummary, VehicleDamageSummary

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

This class forms the basis for Damage Summary to be applied to an element after a combat action 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
GameElementDamageSummary(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

GameElementDamageSummary

public GameElementDamageSummary(GameElement element,
                                int turn)
Method Detail

getElementIdentifier

public GameElementIdentifier getElementIdentifier()

getTurn

public int getTurn()