[Add] Preparing Pathfinding for some ass whooping!!

This commit is contained in:
Rtch90 2012-02-02 22:48:06 +00:00
parent f7bc3fbae5
commit 6c8ad292c9

View File

@ -50,5 +50,17 @@ public:
}; };
public: public:
AStarSearch(void);
int GetState(void) { return _state; }
// Cancel the search and free up the memory. -- This can be called at any time.
void CancelSearch(void) { _cancelRequest = true; }
// Set the start/goal state.
void SetStartAndGoalStates(UserState& start, UserState& goal);
private:
int _state;
bool _cancelRequest;
}; };