| Package | Description |
|---|---|
| edu.ucsb.cs56.projects.games.pacman |
| Modifier and Type | Field | Description |
|---|---|---|
Node |
Node.parent |
| Modifier and Type | Method | Description |
|---|---|---|
Node |
Node.getChild(int dx,
int dy) |
Creates a child node which represents movement from parent node
|
Node |
Ghost.pathFind(Grid grid,
int x,
int y) |
A* pathfinding algorithm
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
Node.compareTo(Node n) |
Compares two nodes and determines which is better
Used for sorting in priority queue
|