feat(Core/AI): Add built-in TaskScheduler to CreatureAI (#17700)

* Add TaskScheduler to CreatureAI

* Code style, because of course.
This commit is contained in:
KJack
2023-11-14 05:32:47 -05:00
committed by GitHub
parent 4cb25b4b5e
commit 2e4ad36d20
2 changed files with 3 additions and 3 deletions

View File

@@ -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();

View File

@@ -494,9 +494,7 @@ protected:
void TeleportCheaters();
EventMap events;
SummonList summons;
TaskScheduler scheduler;
private:
uint32 const _bossId;