feat(Core/AI): Add built-in TaskScheduler to CreatureAI (#17700)
* Add TaskScheduler to CreatureAI * Code style, because of course.
This commit is contained in:
parent
4cb25b4b5e
commit
2e4ad36d20
2 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -494,9 +494,7 @@ protected:
|
|||
|
||||
void TeleportCheaters();
|
||||
|
||||
EventMap events;
|
||||
SummonList summons;
|
||||
TaskScheduler scheduler;
|
||||
|
||||
private:
|
||||
uint32 const _bossId;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue