Package com.csse3200.game
Enum Class GdxGame.ScreenType
- All Implemented Interfaces:
Serializable
,Comparable<GdxGame.ScreenType>
,Constable
- Enclosing class:
GdxGame
Enum for all screens.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAchievements screen.Dossier screen.Inventory screen.Lane runner game screenLoad game screen.Main game screen.Main menu screen.Mini game screenNew game screen.Paddle game screenSave game screen.Settings screen.Shop screen.Skill tree screen.Slot machine levelStatistics screen.World map screen. -
Method Summary
Modifier and TypeMethodDescriptionstatic GdxGame.ScreenType
Returns the enum constant of this class with the specified name.static GdxGame.ScreenType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MAIN_MENU
Main menu screen. -
MAIN_GAME
Main game screen. -
SETTINGS
Settings screen. -
SKILLTREE
Skill tree screen. -
LOAD_GAME
Load game screen. -
NEW_GAME
New game screen. -
SAVE_GAME
Save game screen. -
STATISTICS
Statistics screen. -
ACHIEVEMENTS
Achievements screen. -
SHOP
Shop screen. -
INVENTORY
Inventory screen. -
WORLD_MAP
World map screen. -
DOSSIER
Dossier screen. -
SLOT_MACHINE
Slot machine level -
MINI_GAMES
Mini game screen -
PADDLE_GAME
Paddle game screen -
LANE_RUNNER
Lane runner game screen
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-