org.starhope.appius.game.npc
Enum FutureActionVerb

java.lang.Object
  extended by java.lang.Enum<FutureActionVerb>
      extended by org.starhope.appius.game.npc.FutureActionVerb
All Implemented Interfaces:
Serializable, Comparable<FutureActionVerb>

public enum FutureActionVerb
extends Enum<FutureActionVerb>

Verbs for future actions

Author:
brpocock@star-hope.org

Enum Constant Summary
face
          face a direction or toward a coördinate pair
give
          give an item
goTo
          go to a room
speak
          speak to the room
trade
          trade items
walkTo
          walk to a coördinate on the screen
 
Method Summary
static FutureActionVerb valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FutureActionVerb[] 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

face

public static final FutureActionVerb face
face a direction or toward a coördinate pair


give

public static final FutureActionVerb give
give an item


goTo

public static final FutureActionVerb goTo
go to a room


speak

public static final FutureActionVerb speak
speak to the room


trade

public static final FutureActionVerb trade
trade items


walkTo

public static final FutureActionVerb walkTo
walk to a coördinate on the screen

Method Detail

values

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

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

valueOf

public static FutureActionVerb 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