[Add] Preparing Pathfinding for some ass whooping!!
This commit is contained in:
parent
f7bc3fbae5
commit
6c8ad292c9
@ -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;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user