Logo Search packages:      
Sourcecode: qcake version File versions  Download package

aStar Class Reference

#include <astar.hpp>

List of all members.

Detailed Description

Krippel Harald

Definition at line 26 of file astar.hpp.

Public Member Functions

 aStar (unsigned tmpmapWidth, unsigned tmpmapHeight, unsigned tmptileSize, unsigned tmpnumberPeople)
int FindPath (int pathfinderID, int startingX, int startingY, int targetX, int targetY)
int ReadMap (const char *file)
int ReadMapValue (int x, int y)
void ReadPath (int pathfinderID, int currentX, int currentY, int pixelsPerFrame)
double ReadPathX (int pathfinderID, int pathLocation)
double ReadPathY (int pathfinderID, int pathLocation)

Private Attributes

int * Fcost
int found
int ** Gcost
int * Hcost
char ** map
int mapHeight
int mapWidth
int nonexistent
int notfinished
int notStarted
int numberPeople
int onClosedList
int * openList
int * openX
int * openY
int ** parentX
int ** parentY
int ** pathBank
int * pathLength
int * pathLocation
int * pathStatus
int tileSize
int unwalkable
char ** walkability
int walkable
int ** whichList
int * xPath
int * yPath

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index