rl.common.game.elements
Class Vehicle.MultiBlockSystemStatus

java.lang.Object
  extended by 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

Field Summary
(package private) static long serialVersionUID
           
 
Constructor Summary
Vehicle.MultiBlockSystemStatus(int blockCount)
           
 
Method Summary
 void destroyBlock(int blockIndex)
           
 boolean isSystemDestroyed()
           
 boolean isSystemOk()
           
 
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

Vehicle.MultiBlockSystemStatus

public Vehicle.MultiBlockSystemStatus(int blockCount)
Method Detail

isSystemDestroyed

public boolean isSystemDestroyed()

isSystemOk

public boolean isSystemOk()

destroyBlock

public void destroyBlock(int blockIndex)