Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- actionPerformed(ActionEvent) - Method in class com.project.snakeGame.GamePanel
-
Handles the game loop by updating the snake's position, checking for collisions, and determining if the snake has eaten an apple.
- actionPerformed(ActionEvent) - Method in class com.project.snakeGame.HomePanel
-
Handles button click actions.
- applesEaten - Variable in class com.project.snakeGame.GamePanel
-
Score - number of apples eaten.
- appleX - Variable in class com.project.snakeGame.GamePanel
-
X and Y positions of the apple.
- appleY - Variable in class com.project.snakeGame.GamePanel
-
X and Y positions of the apple.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form