megamek.common
Class PilotingRollData

java.lang.Object
  extended by megamek.common.TargetRoll
      extended by megamek.common.PilotingRollData
All Implemented Interfaces:
java.io.Serializable

public class PilotingRollData
extends TargetRoll

See Also:
Serialized Form

Field Summary
 
Fields inherited from class megamek.common.TargetRoll
AUTOMATIC_FAIL, AUTOMATIC_SUCCESS, CHECK_FALSE, IMPOSSIBLE
 
Constructor Summary
PilotingRollData(int entityId)
           
PilotingRollData(int entityId, int value, int pilotValue, java.lang.String desc)
          Double-logging style for situations where the mech automatically falls, but the pilot can still save to avoid damage.
PilotingRollData(int entityId, int value, java.lang.String desc)
           
PilotingRollData(int entityId, int value, java.lang.String desc, boolean cumulative)
           
 
Method Summary
 int getEntityId()
           
 
Methods inherited from class megamek.common.TargetRoll
addModifier, addModifier, addModifier, append, append, getCumulativePlainDesc, getDesc, getLastPlainDesc, getPlainDesc, getValue, getValueAsString, removeAutos, removeAutos
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PilotingRollData

public PilotingRollData(int entityId)

PilotingRollData

public PilotingRollData(int entityId,
                        int value,
                        java.lang.String desc)

PilotingRollData

public PilotingRollData(int entityId,
                        int value,
                        java.lang.String desc,
                        boolean cumulative)

PilotingRollData

public PilotingRollData(int entityId,
                        int value,
                        int pilotValue,
                        java.lang.String desc)
Double-logging style for situations where the mech automatically falls, but the pilot can still save to avoid damage. The game will later strip out any automatic rolls when it lets the pilot roll to save.

Method Detail

getEntityId

public int getEntityId()