Merge branch 'master' of github.com:Allanis/Unuk

This commit is contained in:
Tamir Atias 2012-02-03 00:49:18 +02:00
commit 5be88716c3

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;
}; };