Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
N
- newApple() - Method in class com.project.snakeGame.GamePanel
-
Spawns a new apple at a random location, ensuring it doesn't overlap with the snake's body.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form