Uses of Enum Class
com.project.snakeGame.GamePanel.Mode
-
Uses of GamePanel.Mode in com.project.snakeGame
Fields in com.project.snakeGame declared as GamePanel.ModeModifier and TypeFieldDescriptionprivate static GamePanel.Mode
GamePanel.gameMode
Current game mode (default: EASY).Methods in com.project.snakeGame that return GamePanel.ModeModifier and TypeMethodDescriptionstatic GamePanel.Mode
Returns the enum constant of this class with the specified name.static GamePanel.Mode[]
GamePanel.Mode.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.project.snakeGame with parameters of type GamePanel.ModeModifier and TypeMethodDescriptionprotected static void
GamePanel.setMode
(GamePanel.Mode mode) Sets the game mode (difficulty).