Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
D
- direction - Variable in class com.project.snakeGame.GamePanel
-
Current direction of the snake's movement.
- draw(Graphics) - Method in class com.project.snakeGame.GamePanel
-
Draws the game elements: Apple Snake body Game over message (if the game ends)
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form