![]() |
ManaPlus
|
#include <metatile.h>
Public Member Functions | |
| MetaTile () | |
Data Fields | |
| int | Fcost |
| int | Gcost |
| int | Hcost |
| unsigned | whichList |
| int | parentX |
| int | parentY |
| unsigned char | blockmask |
A meta tile stores additional information about a location on a tile map. This is information that doesn't need to be repeated for each tile in each layer of the map.
Definition at line 34 of file metatile.h.
|
inline |
| unsigned char MetaTile::blockmask |
Blocking properties of this tile
Definition at line 52 of file metatile.h.
Referenced by Map::findPath(), Minimap::setMap(), and MapLayer::updateConditionTiles().
| int MetaTile::Fcost |
Estimation of total path cost
Definition at line 46 of file metatile.h.
Referenced by Map::findPath().
| int MetaTile::Gcost |
Cost from start to this location
Definition at line 47 of file metatile.h.
Referenced by Map::findPath().
| int MetaTile::Hcost |
| int MetaTile::parentX |
X coordinate of parent tile
Definition at line 50 of file metatile.h.
Referenced by Map::findPath().
| int MetaTile::parentY |
Y coordinate of parent tile
Definition at line 51 of file metatile.h.
Referenced by Map::findPath().
| unsigned MetaTile::whichList |
No list, open list or closed list
Definition at line 49 of file metatile.h.
Referenced by Map::findPath().