rl.common.game.elements
Class Vehicle.DamagedSystem
java.lang.Object
rl.common.game.elements.Vehicle.DamagedSystem
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- Vehicle
public class Vehicle.DamagedSystem
- extends java.lang.Object
- implements java.io.Serializable
This class captures the information around a damaged internal system
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
Vehicle.DamagedSystem
public Vehicle.DamagedSystem(int turnDamaged)
getFirstTurnDamaged
public int getFirstTurnDamaged()
getLastTurnDamaged
public int getLastTurnDamaged()
addBlocksDamaged
public void addBlocksDamaged(int turn,
int blocks)
getBlocksDamaged
public int getBlocksDamaged()
getBlocksDamaged
public int getBlocksDamaged(int turn)
isDamageResolved
public boolean isDamageResolved()
setDamageResolved
public void setDamageResolved()