#include <AStarTile.h>
Public Methods | |
| AStarTile () | |
| Constructor. | |
| AStarTile (int initX, int initY, int initG, int initH, AStarTile *initParent) | |
| Constructor. | |
| ~AStarTile () | |
| Destructor. | |
| void | init (int initX, int initY, int initG, int initH, AStarTile *initParent) |
| Initializes the tile. | |
| int | getF () const |
| Returns the f value of the A* algorithm (fitness). | |
| int | getG () const |
| Returns the g value of the A* algorithm (goal). | |
| int | getH () const |
| Returns the h value of the A* algorithm (heuristic). | |
| int | getX () const |
| Returns the x coordinate of this tile. | |
| int | getY () const |
| Returns the y coordinate of this tile. | |
| AStarTile * | getParent () const |
| Returns a pointer to this tile's parent tile. | |
| Point | getPoint () const |
Authors: Jim Clase, Jonathan Hilliker, Jason Winnebeck
|
|
Constructor. Authors: Jim Clase, Jonathan Hilliker, Jason Winnebeck |
|
||||||||||||||||||||||||
|
Constructor.
|
|
|
Destructor.
|
|
|
Returns the f value of the A* algorithm (fitness).
|
|
|
Returns the g value of the A* algorithm (goal).
|
|
|
Returns the h value of the A* algorithm (heuristic).
|
|
|
Returns a pointer to this tile's parent tile.
|
|
|
|
|
|
Returns the x coordinate of this tile.
|
|
|
Returns the y coordinate of this tile.
|
|
||||||||||||||||||||||||
|
Initializes the tile.
|
1.2.18