Uses of Enum Class
model.game.GameState
Packages that use GameState
Package
Description
JavaFX UI layer — all Scene screens and the GameController connecting the View to the Model.
Core game control package containing GameManager, ZoneManager, GameState, and GameEventListener.
-
Uses of GameState in application
Methods in application with parameters of type GameStateModifier and TypeMethodDescriptionvoidGameController.onStateChanged(GameState state) Receives a state-change event and switches to the appropriate screen. -
Uses of GameState in model.game
Subclasses with type arguments of type GameState in model.gameFields in model.game declared as GameStateMethods in model.game that return GameStateModifier and TypeMethodDescriptionGameManager.getState()static GameStateReturns the enum constant of this class with the specified name.static GameState[]GameState.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in model.game with parameters of type GameStateModifier and TypeMethodDescriptionvoidGameEventListener.onStateChanged(GameState newState) Notifies when the GameState changes.private voidChanges the game state and notifies the listener.