Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
K
- keyPressed(KeyEvent) - Method in class com.project.snakeGame.GamePanel.MyKeyAdapter
-
Listens for key presses and changes the snake's direction based on the arrow keys.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form