com.planet_ink.coffee_mud.Items.interfaces
Enum ShipComponent.ShipEngine.ThrustPort

java.lang.Object
  extended by java.lang.Enum<ShipComponent.ShipEngine.ThrustPort>
      extended by com.planet_ink.coffee_mud.Items.interfaces.ShipComponent.ShipEngine.ThrustPort
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ShipComponent.ShipEngine.ThrustPort>
Enclosing interface:
ShipComponent.ShipEngine

public static enum ShipComponent.ShipEngine.ThrustPort
extends java.lang.Enum<ShipComponent.ShipEngine.ThrustPort>

The ThrustPort enum is for the different thrust ports, denoting the port, by its direction location.


Enum Constant Summary
AFT
           
DORSEL
           
FORWARD
           
PORT
           
STARBOARD
           
VENTRAL
           
 
Method Summary
static ShipComponent.ShipEngine.ThrustPort valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ShipComponent.ShipEngine.ThrustPort[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AFT

public static final ShipComponent.ShipEngine.ThrustPort AFT

PORT

public static final ShipComponent.ShipEngine.ThrustPort PORT

VENTRAL

public static final ShipComponent.ShipEngine.ThrustPort VENTRAL

DORSEL

public static final ShipComponent.ShipEngine.ThrustPort DORSEL

STARBOARD

public static final ShipComponent.ShipEngine.ThrustPort STARBOARD

FORWARD

public static final ShipComponent.ShipEngine.ThrustPort FORWARD
Method Detail

values

public static ShipComponent.ShipEngine.ThrustPort[] 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 (ShipComponent.ShipEngine.ThrustPort c : ShipComponent.ShipEngine.ThrustPort.values())
    System.out.println(c);

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

valueOf

public static ShipComponent.ShipEngine.ThrustPort 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