|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Gesture> spellcast.gestures.Gesture
public enum Gesture
A Spellcast Gesture
.
Spellcast defines eight valid gestures; emptyHand, palm, digit, fingers, wave, clap, snap, and knife.
It also uses two display gestures: antispell and unclear.
Gesture
s can also be two handed.
Enum Constant Summary | |
---|---|
ANTISPELL
|
|
CLAP
|
|
DIGIT
|
|
EMPTY_HAND
|
|
FINGERS
|
|
KNIFE
|
|
ONE_HANDED_CLAP
|
|
PALM
|
|
SNAP
|
|
TWO_HANDED_PALM
|
|
UNCLEAR
|
|
WAVE
|
Method Summary | |
---|---|
java.lang.String |
getName()
Return the name of this gesture. |
boolean |
isTwoHanded()
Indicates whether this Gesture is two handed or one
handed. |
boolean |
isUnclear()
Indicates whether the Gesture is unclear. |
static Gesture |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Gesture[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Gesture EMPTY_HAND
public static final Gesture PALM
public static final Gesture DIGIT
public static final Gesture FINGERS
public static final Gesture WAVE
public static final Gesture CLAP
public static final Gesture SNAP
public static final Gesture KNIFE
public static final Gesture ANTISPELL
public static final Gesture UNCLEAR
public static final Gesture TWO_HANDED_PALM
public static final Gesture ONE_HANDED_CLAP
Method Detail |
---|
public static final Gesture[] values()
for(Gesture c : Gesture.values()) System.out.println(c);
public static Gesture valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic final java.lang.String getName()
public final boolean isTwoHanded()
Gesture
is two handed or one
handed. True is two handed, false otherwise.
Gesture
, false for a one
handed Gesture
.public final boolean isUnclear()
Gesture
is unclear. An unclear
Gesture
will not be visible to the Being
.
Gesture
is unclear, false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |