Enum LevelConfig
java.lang.Object
java.lang.Enum<LevelConfig>
LevelConfig
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LevelConfig>
,java.lang.constant.Constable
public enum LevelConfig extends java.lang.Enum<LevelConfig>
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description LEVEL_0_FLAT
Level with no threats + no jumps.LEVEL_1_JUMPING
Level where you have to jump.LEVEL_2_GOOMBAS
And here you must mind malicious GOOMBAs!LEVEL_3_TUBES
+ Tubes with dangerous flowers.LEVEL_4_SPIKIES
Here we're adding SPIKIES! (Cannot be killed by fireballs...)LEVEL_5_SPIKIES
Finally, level with green tourtles (so called KOOPAs). -
Method Summary
Modifier and Type Method Description java.lang.String
getOptions()
java.lang.String
getOptionsRandomized()
java.lang.String
getOptionsRndVissOff()
java.lang.String
getOptionsVisualizationOff()
static LevelConfig
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LevelConfig[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LEVEL_0_FLAT
Level with no threats + no jumps. -
LEVEL_1_JUMPING
Level where you have to jump. -
LEVEL_2_GOOMBAS
And here you must mind malicious GOOMBAs! -
LEVEL_3_TUBES
+ Tubes with dangerous flowers. -
LEVEL_4_SPIKIES
Here we're adding SPIKIES! (Cannot be killed by fireballs...) -
LEVEL_5_SPIKIES
Finally, level with green tourtles (so called KOOPAs).
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getOptions
public java.lang.String getOptions() -
getOptionsRandomized
public java.lang.String getOptionsRandomized() -
getOptionsVisualizationOff
public java.lang.String getOptionsVisualizationOff() -
getOptionsRndVissOff
public java.lang.String getOptionsRndVissOff()
-