rl.leviathan.game.elements
Enum CapitalShipSystem

java.lang.Object
  extended by java.lang.Enum<CapitalShipSystem>
      extended by rl.leviathan.game.elements.CapitalShipSystem
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CapitalShipSystem>

public enum CapitalShipSystem
extends java.lang.Enum<CapitalShipSystem>


Enum Constant Summary
ACCELERATION_COMPENSATOR
           
ANTIGRAV_DRIVE
           
ATMOSPHERIC_CONTROLS
           
BAY_DESTROYED
           
BAY_FC
           
BULKHEADS_COLLAPSE
           
CIC
           
CIC_DESTROYED
           
COMM_SYSTEMS
           
CREW_QUARTERS
           
DAMAGE_CONTROL
           
EXTERNAL_COMM_SYSTEMS
           
FLAG_BRIDGE
           
FTL_SYSTEM_DESTROYED
           
FTL_SYSTEM_MAJOR_DAMAGE
           
FTL_SYSTEM_MINOR_DAMAGE
           
HALF_TURRET_FACTORS_LOST
           
INTERNAL_COMM_SYSTEMS
           
LEFT_THRUSTER_OUT
           
LEFT_TURRET_FIRE_CONTROL
           
LIFE_SUPPORT
           
LONG_RANGE_SENSORS
           
MAIN_BRIDGE
           
MANOUVER_POWER_SYSTEM
           
NAVIGATION_LIGHTS
           
PLANT_DESTROYED
           
PLANT_HALF_DAMAGED
           
PLANT_SHORTS
           
RIGHT_THRUSTER_OUT
           
RIGHT_TURRET_FIRE_CONTROL
           
SHIELD_DESTROYED
           
SHIELD_SHORTS
           
SHIP_DESTROYED
           
SLD_DESTROYED
           
SLD_HALF_DAMAGED
           
SLD_SHORTS
           
SPINAL_MOUNT_COIL_DAMAGED
           
SPINAL_MOUNT_COIL_SHORTS
           
SPINAL_MOUNT_DESTROYED
           
SPINE_CRACKS
           
STRUCTURAL_COLLAPSE
           
TRANSPONDER
           
VIP_DOCKING_PORT
           
WEAPON_POWER_SYSTEM
           
 
Method Summary
 boolean autoRepair()
           
static CapitalShipSystem fromString(java.lang.String name)
           
 boolean repairable()
           
 boolean repairableByCrew()
           
 int repairTime()
           
 CapitalShipSystemInfo.RepairType repairType()
           
 java.lang.String toString()
           
static CapitalShipSystem valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CapitalShipSystem[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TRANSPONDER

public static final CapitalShipSystem TRANSPONDER

NAVIGATION_LIGHTS

public static final CapitalShipSystem NAVIGATION_LIGHTS

EXTERNAL_COMM_SYSTEMS

public static final CapitalShipSystem EXTERNAL_COMM_SYSTEMS

FLAG_BRIDGE

public static final CapitalShipSystem FLAG_BRIDGE

MAIN_BRIDGE

public static final CapitalShipSystem MAIN_BRIDGE

VIP_DOCKING_PORT

public static final CapitalShipSystem VIP_DOCKING_PORT

INTERNAL_COMM_SYSTEMS

public static final CapitalShipSystem INTERNAL_COMM_SYSTEMS

LONG_RANGE_SENSORS

public static final CapitalShipSystem LONG_RANGE_SENSORS

COMM_SYSTEMS

public static final CapitalShipSystem COMM_SYSTEMS

SHIELD_SHORTS

public static final CapitalShipSystem SHIELD_SHORTS

SHIELD_DESTROYED

public static final CapitalShipSystem SHIELD_DESTROYED

PLANT_SHORTS

public static final CapitalShipSystem PLANT_SHORTS

LEFT_THRUSTER_OUT

public static final CapitalShipSystem LEFT_THRUSTER_OUT

RIGHT_THRUSTER_OUT

public static final CapitalShipSystem RIGHT_THRUSTER_OUT

ACCELERATION_COMPENSATOR

public static final CapitalShipSystem ACCELERATION_COMPENSATOR

PLANT_HALF_DAMAGED

public static final CapitalShipSystem PLANT_HALF_DAMAGED

PLANT_DESTROYED

public static final CapitalShipSystem PLANT_DESTROYED

ATMOSPHERIC_CONTROLS

public static final CapitalShipSystem ATMOSPHERIC_CONTROLS

ANTIGRAV_DRIVE

public static final CapitalShipSystem ANTIGRAV_DRIVE

SLD_SHORTS

public static final CapitalShipSystem SLD_SHORTS

MANOUVER_POWER_SYSTEM

public static final CapitalShipSystem MANOUVER_POWER_SYSTEM

SLD_HALF_DAMAGED

public static final CapitalShipSystem SLD_HALF_DAMAGED

SLD_DESTROYED

public static final CapitalShipSystem SLD_DESTROYED

CIC

public static final CapitalShipSystem CIC

CIC_DESTROYED

public static final CapitalShipSystem CIC_DESTROYED

BAY_FC

public static final CapitalShipSystem BAY_FC

BAY_DESTROYED

public static final CapitalShipSystem BAY_DESTROYED

LEFT_TURRET_FIRE_CONTROL

public static final CapitalShipSystem LEFT_TURRET_FIRE_CONTROL

RIGHT_TURRET_FIRE_CONTROL

public static final CapitalShipSystem RIGHT_TURRET_FIRE_CONTROL

HALF_TURRET_FACTORS_LOST

public static final CapitalShipSystem HALF_TURRET_FACTORS_LOST

SPINAL_MOUNT_COIL_SHORTS

public static final CapitalShipSystem SPINAL_MOUNT_COIL_SHORTS

SPINAL_MOUNT_COIL_DAMAGED

public static final CapitalShipSystem SPINAL_MOUNT_COIL_DAMAGED

SPINAL_MOUNT_DESTROYED

public static final CapitalShipSystem SPINAL_MOUNT_DESTROYED

WEAPON_POWER_SYSTEM

public static final CapitalShipSystem WEAPON_POWER_SYSTEM

LIFE_SUPPORT

public static final CapitalShipSystem LIFE_SUPPORT

CREW_QUARTERS

public static final CapitalShipSystem CREW_QUARTERS

BULKHEADS_COLLAPSE

public static final CapitalShipSystem BULKHEADS_COLLAPSE

SPINE_CRACKS

public static final CapitalShipSystem SPINE_CRACKS

STRUCTURAL_COLLAPSE

public static final CapitalShipSystem STRUCTURAL_COLLAPSE

DAMAGE_CONTROL

public static final CapitalShipSystem DAMAGE_CONTROL

FTL_SYSTEM_MINOR_DAMAGE

public static final CapitalShipSystem FTL_SYSTEM_MINOR_DAMAGE

FTL_SYSTEM_MAJOR_DAMAGE

public static final CapitalShipSystem FTL_SYSTEM_MAJOR_DAMAGE

FTL_SYSTEM_DESTROYED

public static final CapitalShipSystem FTL_SYSTEM_DESTROYED

SHIP_DESTROYED

public static final CapitalShipSystem SHIP_DESTROYED
Method Detail

values

public static CapitalShipSystem[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CapitalShipSystem c : CapitalShipSystem.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CapitalShipSystem valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

fromString

public static CapitalShipSystem fromString(java.lang.String name)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<CapitalShipSystem>

repairable

public boolean repairable()

repairableByCrew

public boolean repairableByCrew()

autoRepair

public boolean autoRepair()

repairTime

public int repairTime()

repairType

public CapitalShipSystemInfo.RepairType repairType()