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.ModeGamePanel.gameModeCurrent game mode (default: EASY).Methods in com.project.snakeGame that return GamePanel.ModeModifier and TypeMethodDescriptionstatic GamePanel.ModeReturns 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 voidGamePanel.setMode(GamePanel.Mode mode) Sets the game mode (difficulty).