Enum CookingStatus
- java.lang.Object
-
- java.lang.Enum<CookingStatus>
-
- com.apogames.kitchenchef.game.enums.CookingStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CookingStatus>
public enum CookingStatus extends java.lang.Enum<CookingStatus>
The enum Cooking status.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COOKING
Cooking cooking status.CUTTING
Cutting cooking status.DISH
Dish cooking status.NEEDED_DISH
Needed dish cooking status.RAW
Raw cooking status.READY_FOR_COOKING
Ready for cooking cooking status.READY_FOR_CUTTING
Ready for cutting cooking status.ROTTEN
Rotten cooking status.SERVEABLE
Serveable cooking status.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
boolean
isCooking(WaitHelper helper)
Is cooking boolean.boolean
isCutting(WaitHelper helper)
Is cutting boolean.boolean
isReadyForCutting()
Is ready for cutting boolean.boolean
isReadyForServing()
Is ready for serving boolean.static CookingStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CookingStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEEDED_DISH
public static final CookingStatus NEEDED_DISH
Needed dish cooking status.
-
DISH
public static final CookingStatus DISH
Dish cooking status.
-
RAW
public static final CookingStatus RAW
Raw cooking status.
-
READY_FOR_CUTTING
public static final CookingStatus READY_FOR_CUTTING
Ready for cutting cooking status.
-
CUTTING
public static final CookingStatus CUTTING
Cutting cooking status.
-
READY_FOR_COOKING
public static final CookingStatus READY_FOR_COOKING
Ready for cooking cooking status.
-
COOKING
public static final CookingStatus COOKING
Cooking cooking status.
-
SERVEABLE
public static final CookingStatus SERVEABLE
Serveable cooking status.
-
ROTTEN
public static final CookingStatus ROTTEN
Rotten cooking status.
-
-
Method Detail
-
values
public static CookingStatus[] 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 (CookingStatus c : CookingStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CookingStatus 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
-
getDescription
public java.lang.String getDescription()
-
isReadyForCutting
public boolean isReadyForCutting()
Is ready for cutting boolean.- Returns:
- the boolean
-
isCutting
public boolean isCutting(WaitHelper helper)
Is cutting boolean.- Parameters:
helper
- the helper- Returns:
- the boolean
-
isReadyForServing
public boolean isReadyForServing()
Is ready for serving boolean.- Returns:
- the boolean
-
isCooking
public boolean isCooking(WaitHelper helper)
Is cooking boolean.- Parameters:
helper
- the helper- Returns:
- the boolean
-
-