Groovy Documentation

de.dewarim.goblin
[Java] Enum FighterState

java.lang.Object
  de.dewarim.goblin.FighterState

public enum FighterState

Defines the state of a MeleeFighter


Enum Constant Summary
ACTIVE

DEAD

QUITTER

WINNER

 
Method Summary
FighterState valueOf(java.lang.String name)

Returns the enum constant of this type with the specified name.

FighterState[] values()

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

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Enum Constant Detail

ACTIVE

FighterState ACTIVE


DEAD

FighterState DEAD


QUITTER

FighterState QUITTER


WINNER

FighterState WINNER


 
Method Detail

valueOf

FighterState valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.


values

FighterState[] values()
Returns an array containing the constants of this enum type, in the order they are declared.


 

Groovy Documentation