Enum Order
- java.lang.Object
-
- java.lang.Enum<Order>
-
- com.apogames.kitchenchef.game.enums.Order
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUY
Buy order.COLLECTING_INGREDIENTS
Collecting ingredients order.COLLECTING_SPICE
Collecting spice order.COOKING
Cooking order.CUTTING
Cutting order.DISH_TAKING
Dish taking order.DISH_WASHING
Dish washing order.MOVING
Moving order.NOTHING
Nothing order.ORDER
Order order.PUT_DOWN
Put down order.SERVE
Serve order.TAKE_UP
Take up order.UPGRADE
Upgrade your player.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Order
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Order[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOTHING
public static final Order NOTHING
Nothing order.
-
MOVING
public static final Order MOVING
Moving order.
-
CUTTING
public static final Order CUTTING
Cutting order.
-
COOKING
public static final Order COOKING
Cooking order.
-
DISH_WASHING
public static final Order DISH_WASHING
Dish washing order.
-
DISH_TAKING
public static final Order DISH_TAKING
Dish taking order.
-
COLLECTING_INGREDIENTS
public static final Order COLLECTING_INGREDIENTS
Collecting ingredients order.
-
COLLECTING_SPICE
public static final Order COLLECTING_SPICE
Collecting spice order.
-
ORDER
public static final Order ORDER
Order order.
-
SERVE
public static final Order SERVE
Serve order.
-
BUY
public static final Order BUY
Buy order.
-
PUT_DOWN
public static final Order PUT_DOWN
Put down order.
-
TAKE_UP
public static final Order TAKE_UP
Take up order.
-
UPGRADE
public static final Order UPGRADE
Upgrade your player.
-
-
Method Detail
-
values
public static Order[] 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 (Order c : Order.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Order 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 namejava.lang.NullPointerException
- if the argument is null
-
-