Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
C
- cardLayout - Variable in class com.project.snakeGame.HomePanel
-
The layout manager that handles panel switching.
- checkApple() - Method in class com.project.snakeGame.GamePanel
-
Checks if the snake has eaten an apple.
- checkCollisions() - Method in class com.project.snakeGame.GamePanel
-
Checks for collisions with the snake itself or the game boundaries.
- com.project.snakeGame - package com.project.snakeGame
- createButton(String) - Method in class com.project.snakeGame.HomePanel
-
Creates a styled button with hover effects.
- createGUI() - Method in class com.project.snakeGame.SnakeGame
-
Creates and initializes the GUI components, including the scoreboard, home panel, and game panel.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form