rl.common.game.elements
Class GameElementFiringSummary

java.lang.Object
  extended by rl.common.game.elements.GameElementFiringSummary
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CapitalShipFiringSummary, InfantrySquadFiringSummary, VehicleFiringSummary

public class GameElementFiringSummary
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
GameElementFiringSummary(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

GameElementFiringSummary

public GameElementFiringSummary(GameElement element,
                                int turn)
Method Detail

getElementIdentifier

public GameElementIdentifier getElementIdentifier()

getTurn

public int getTurn()