| Package | Description |
|---|---|
| edu.ucsb.cs56.projects.games.pacman |
| Class | Description |
|---|---|
| Character |
Class that every character inherits from, including players
and AI-controlled enemies.
|
| GamePlayed |
Stores information about the game that has just been played
|
| 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
|
| Grid |
Class representing the map layout
|
| GridData |
A class to hold the information that is associated with a level
such as walls, fruit, pellets, and power pills
|
| Location |
This class represents location in x-y coordinates
of an object on the game map
|
| Node |
Class representing a node (tile) in map used for AI pathfinding
Algorithm used: A*
Read more: http://en.wikipedia.org/wiki/A*_search_algorithm
Currently, the hCost is NOT admissable for going through tunnels
since it will evaluate the cartesian distance and overestimate.
|