#include <enemy.h>
A rather odd way of handling linked lists. This is only really used in the A-star algorithm, and is designed to act as a linked list by accessing on index instead of by memory address.
- See also
- Enemy::a_star(IntPoint start, IntPoint goal, TilePointerMatrix& surroundings)
ATile::ATile |
( |
int |
_parent, |
|
|
IntPoint |
_coords |
|
) |
| |
|
inline |
The coordinates of the tile.
The total "score" for this tile. Made up of f + g
The distance that has passed from the origin to this tile.
The index value of the parent of this tile
The documentation for this struct was generated from the following file: