Enum KitchenUpgrade
- java.lang.Object
-
- java.lang.Enum<KitchenUpgrade>
-
- com.apogames.kitchenchef.game.enums.KitchenUpgrade
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<KitchenUpgrade>
public enum KitchenUpgrade extends java.lang.Enum<KitchenUpgrade>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOUBLE_MONEY
FASTER_MOVEMENT_SPEED
FASTER_PREPARATION_TIME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAssetPosition()
int
getCost()
java.lang.String
getValueString()
static KitchenUpgrade
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static KitchenUpgrade[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FASTER_MOVEMENT_SPEED
public static final KitchenUpgrade FASTER_MOVEMENT_SPEED
-
FASTER_PREPARATION_TIME
public static final KitchenUpgrade FASTER_PREPARATION_TIME
-
DOUBLE_MONEY
public static final KitchenUpgrade DOUBLE_MONEY
-
-
Method Detail
-
values
public static KitchenUpgrade[] 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 (KitchenUpgrade c : KitchenUpgrade.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KitchenUpgrade 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
-
getCost
public int getCost()
-
getAssetPosition
public int getAssetPosition()
-
getValueString
public java.lang.String getValueString()
-
-