| Package | Description |
|---|---|
| edu.ucsb.cs56.projects.games.pacman |
| Modifier and Type | Class | Description |
|---|---|---|
class |
Ghost |
A class used to represent the ghost enemies
used for AI-controlled ghosts in the standard mode
and for player controlled ghosts in multiplayer
|
class |
PacPlayer |
A class to represent the player controlled pacman character.
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract void |
Character.moveAI(Grid grid,
Character[] c) |
Moves character's current position with the board's collision
|
void |
Ghost.moveAI(Grid grid,
Character[] c) |
For ghosts that are close to pacman, have them follow pacman
with a specified probability
|
void |
PacPlayer.moveAI(Grid grid,
Character[] c) |
Moves character's current position while detecting for collision
within the board
|