Path Class Reference
[Engine Module]

#include <path.h>

List of all members.

Public Member Functions

 Path ()
bool IsEmpty () const
void PushDirection (MapEnums::Direction direction)
MapEnums::Direction PopDirection ()
void GetNextDirection (MapEnums::Direction &direction, bool &rotating_left) const
void GetNextPosition (MapPosition3D &position) const
bool IsInDestination (const MapPosition3D &position, const MapSize &size)
bool IsFinished ()
void SetFinished (bool finished)
bool IsReachable ()
void SetReachable (bool reachable)

Public Attributes

MapArea dest_area
MapEnums::Segment dest_segment
Ref< Unitdest_unit

Protected Attributes

bool finished
bool reachable
list
< MapEnums::Direction
steps

Private Member Functions

void UpdateDestination ()


Constructor & Destructor Documentation

Path::Path (  )  [inline]


Member Function Documentation

bool Path::IsEmpty (  )  const [inline]

void Path::PushDirection ( MapEnums::Direction  direction  )  [inline]

MapEnums::Direction Path::PopDirection (  )  [inline]

void Path::GetNextDirection ( MapEnums::Direction direction,
bool &  rotating_left 
) const [inline]

void Path::GetNextPosition ( MapPosition3D position  )  const [inline]

bool Path::IsInDestination ( const MapPosition3D position,
const MapSize size 
)

bool Path::IsFinished (  ) 

void Path::SetFinished ( bool  finished  )  [inline]

bool Path::IsReachable (  ) 

void Path::SetReachable ( bool  reachable  )  [inline]

void Path::UpdateDestination (  )  [inline, private]


Member Data Documentation

MapArea Path::dest_area

MapEnums::Segment Path::dest_segment

Ref<Unit> Path::dest_unit

bool Path::finished [protected]

bool Path::reachable [protected]

list<MapEnums::Direction> Path::steps [protected]


The documentation for this class was generated from the following files:
Generated on Sat Oct 20 14:47:33 2007 for Dark Oberon by  doxygen 1.5.3