multiverse.mars.core
Enum MarsAbility.TargetType

java.lang.Object
  extended by java.lang.Enum<MarsAbility.TargetType>
      extended by multiverse.mars.core.MarsAbility.TargetType
All Implemented Interfaces:
Serializable, Comparable<MarsAbility.TargetType>
Enclosing class:
MarsAbility

public static enum MarsAbility.TargetType
extends Enum<MarsAbility.TargetType>


Enum Constant Summary
AREA
           
ENEMY
           
FRIEND
           
GROUP
           
NONE
           
SELF
           
UNINIT
           
 
Method Summary
static MarsAbility.TargetType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MarsAbility.TargetType[] 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

UNINIT

public static final MarsAbility.TargetType UNINIT

NONE

public static final MarsAbility.TargetType NONE

ENEMY

public static final MarsAbility.TargetType ENEMY

FRIEND

public static final MarsAbility.TargetType FRIEND

GROUP

public static final MarsAbility.TargetType GROUP

SELF

public static final MarsAbility.TargetType SELF

AREA

public static final MarsAbility.TargetType AREA
Method Detail

values

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

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

valueOf

public static MarsAbility.TargetType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null