ManaPlus
|
#include <location.h>
Public Member Functions | |
Location (const int px, const int py, MetaTile *const ptile) | |
bool | operator< (const Location &loc) const |
Data Fields | |
int | x |
int | y |
int | tileCost |
MetaTile * | tile |
A location on a tile map. Used for pathfinding, open list.
Definition at line 34 of file location.h.
|
inline |
|
inline |
MetaTile* Location::tile |
Definition at line 60 of file location.h.
Referenced by Map::findPath().
int Location::tileCost |
Definition at line 59 of file location.h.
Referenced by operator<().
int Location::x |
Definition at line 58 of file location.h.
Referenced by Map::findPath().
int Location::y |
Definition at line 58 of file location.h.
Referenced by Map::findPath().