#include <destination.h>
Static Public Member Functions | |
static OPENCITY_DIRECTION | GetDir (const Destination &rcA, const Destination &rcB) |
Public Attributes | |
OPENCITY_DIRECTION | _eDir |
Which direction ? | |
uint | _uiW |
The OC W, L coordinates. | |
uint | _uiL |
int | _iHMin |
int | _iHMax |
The height of the current square (on the Oy axis). | |
uint | _uiTime |
How many time do I have to move in this direction ? | |
OC_UBYTE | _ubTraffic |
Local traffic at this WL. |
Definition at line 31 of file destination.h.
|
Get the direction from A to B. The coordinates designated by the two destinations must be side by side on the map
Definition at line 45 of file destination.cpp. References _eDir, _uiL, and _uiW. Referenced by PathFinder::findShortestPath(). |