mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-15 21:45:12 +00:00
feat(Core/AI): Add built-in TaskScheduler to CreatureAI (#17700)
* Add TaskScheduler to CreatureAI * Code style, because of course.
This commit is contained in:
@@ -21,8 +21,9 @@
|
||||
#include "AreaBoundary.h"
|
||||
#include "Common.h"
|
||||
#include "Creature.h"
|
||||
#include "UnitAI.h"
|
||||
#include "EventMap.h"
|
||||
#include "TaskScheduler.h"
|
||||
#include "UnitAI.h"
|
||||
|
||||
class WorldObject;
|
||||
class Unit;
|
||||
@@ -72,6 +73,7 @@ protected:
|
||||
Creature* const me;
|
||||
|
||||
EventMap events;
|
||||
TaskScheduler scheduler;
|
||||
|
||||
bool UpdateVictim();
|
||||
bool UpdateVictimWithGaze();
|
||||
|
||||
Reference in New Issue
Block a user