rl.common.game.elements
Class Vehicle.MultiBlockSystemStatus
java.lang.Object
rl.common.game.elements.Vehicle.MultiBlockSystemStatus
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- Vehicle
public class Vehicle.MultiBlockSystemStatus
- extends java.lang.Object
- implements java.io.Serializable
This class captures the information about a system that has more than one internal block and the
statuses of those blocks
- 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.MultiBlockSystemStatus
public Vehicle.MultiBlockSystemStatus(int blockCount)
isSystemDestroyed
public boolean isSystemDestroyed()
isSystemOk
public boolean isSystemOk()
destroyBlock
public void destroyBlock(int blockIndex)