| Package | Description |
|---|---|
| edu.ucsb.cs56.projects.games.pacman |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Queue<Ghost> |
GhostHouse.getGhosts() |
returns the ghosts list
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
GhostHouse.addGhost(Ghost ghost) |
Method to add a ghost to a ghost house object
Ghosts in ghost house will properly spawn and respawn
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
GhostHouse.addGhosts(java.util.List<Ghost> ghosts) |
returns the top left location of the ghost house
Method to add ghosts to a ghost house object
Ghosts in ghost house will properly spawn and respawn
|
void |
Board.detectCollision(java.util.ArrayList<Ghost> ghosts) |
Detects when ghosts and pacman collide
Ghosts are sent back to the 'ghost house' (center of map)
when pacman dies
|