#include <Location.h>
Inheritance diagram for Location:

Public Member Functions | |
| Location (const Location &source) | |
| virtual bool | ParseNode (const TiXmlNode *node) |
| virtual TiXmlNode * | WriteNode (TiXmlNode *node) const |
| TiXmlNode * | WriteLocation (TiXmlNode *node) const |
| virtual const string | GetName (const Player *) const |
| void | SetLocation (const Location &loc) |
| void | SetLocation (long px, long py) |
| long | GetPosX () const |
| long | GetPosY () const |
| void | SetPosX (long x) |
| void | SetPosY (long y) |
| double | Distance (const Location &other) const |
| double | Distance (double px, double py) const |
| bool | IsWith (const Location &other) const |
| bool | IsWith (long x, long y) const |
| virtual long | GetID () const |
| virtual long | SeenBy (const Player *) const |
| virtual long | SeenBy (unsigned long) const |
Static Public Member Functions | |
| static void | MoveToward (const Location &start, const Location &dest, double *px, double *py, long distance) |
Protected Attributes | |
| long | posX |
| long | posY |
Friends | |
| bool | operator== (const Location &a, const Location &b) |
| bool | operator!= (const Location &a, const Location &b) |
Definition at line 36 of file Location.h.
1.4.2-20050421