#include <astar2.h>
Inheritance diagram for AStar3D::PathPoint:

Public Member Functions | |
| PathPoint (const MapCoordinate3D &mc, int dist_, int enterHeight_, bool hasAttacked_) | |
| int | getRealHeight () |
| MapCoordinate3D | getRealPos () |
| void | write (tnstream &stream) const |
| void | read (tnstream &stream) |
Static Public Member Functions | |
| static PathPoint | newFromStream (tnstream &stream) |
Public Attributes | |
| int | dist |
| int | enterHeight |
| bool | hasAttacked |
Definition at line 112 of file astar2.h.
| AStar3D::PathPoint::PathPoint | ( | const MapCoordinate3D & | mc, | |
| int | dist_, | |||
| int | enterHeight_, | |||
| bool | hasAttacked_ | |||
| ) | [inline] |
| int AStar3D::PathPoint::getRealHeight | ( | ) | [inline] |
Definition at line 117 of file astar2.h.
References enterHeight, and MapCoordinate3D::getNumericalHeight().
Referenced by getRealPos().
| MapCoordinate3D AStar3D::PathPoint::getRealPos | ( | ) | [inline] |
Definition at line 118 of file astar2.h.
References getRealHeight(), MapCoordinate3D::setnum(), MapCoordinate::x, and MapCoordinate::y.
| void AStar3D::PathPoint::write | ( | tnstream & | stream | ) | const |
Reimplemented from MapCoordinate3D.
Definition at line 956 of file astar2.cpp.
References dist, enterHeight, hasAttacked, MapCoordinate::write(), and tnstream::writeInt().
| void AStar3D::PathPoint::read | ( | tnstream & | stream | ) |
Reimplemented from MapCoordinate3D.
Definition at line 965 of file astar2.cpp.
References dist, enterHeight, hasAttacked, MapCoordinate::read(), and tnstream::readInt().
Referenced by newFromStream().
| AStar3D::PathPoint AStar3D::PathPoint::newFromStream | ( | tnstream & | stream | ) | [static] |
1.5.1