api: allow getting current bot goal.

api: do not use buckets for nearest node search.
This commit is contained in:
ds 2020-11-06 10:27:19 +03:00
commit a0202efc40
5 changed files with 26 additions and 9 deletions

View file

@ -40,6 +40,9 @@ public:
// force bot to go to the selected node
virtual void setBotGoal (int entity, int node) = 0;
// get's the bot current goal node
virtual int getBotGoal (int entity) = 0;
// force bot to go to selected origin
virtual void setBotGoalOrigin (int entity, float *origin) = 0;