Index

A B C D E G H I K M N P R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

S

scoreBoard - Static variable in class com.project.snakeGame.SnakeGame
The scoreboard label showing the player's score.
setGameSpeed() - Method in class com.project.snakeGame.GamePanel
Configures the game speed based on the selected mode.
setMode(GamePanel.Mode) - Static method in class com.project.snakeGame.GamePanel
Sets the game mode (difficulty).
setupMainMenu() - Method in class com.project.snakeGame.HomePanel
Sets up the main menu with buttons and a title.
SnakeGame - Class in com.project.snakeGame
The SnakeGame class is the main entry point for the Snake game.
SnakeGame() - Constructor for class com.project.snakeGame.SnakeGame
Constructs the Snake game window, setting its properties and initializing the GUI components.
startGame() - Method in class com.project.snakeGame.GamePanel
Starts the game by: Resetting snake length and score Setting the initial direction to 'R' Spawning the first apple Starting the game timer
startGame() - Static method in class com.project.snakeGame.SnakeGame
Starts the game by switching from the home panel to the game panel.
A B C D E G H I K M N P R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form