- paint(Graphics) - Method in class Pellets
-
Draw the pellets on the given pane
- paint(Graphics) - Method in class Snake
-
Draw this snake on the given graphics pane and
draw its score in the appropriate location.
- paint(Graphics) - Method in class SnakesGame
-
Draw the current game state, or display splash screen with winner if done.
- peek() - Method in class MyList
-
Retrieves, but does not rempve, the first element of the queue
- peek() - Method in interface SimpleQueue
-
Retrieves, but does not remove, the first element of the queue
- Pellets - Class in <Unnamed>
-
Pellets, to be eaten by a Snake in the Snakes Game.
- Pellets(Color, int) - Constructor for class Pellets
-
Create the new pellets, with the given color at randomly chosen positions.