diff options
Diffstat (limited to 'src/game/NullCreatureAI.h')
-rw-r--r-- | src/game/NullCreatureAI.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/game/NullCreatureAI.h b/src/game/NullCreatureAI.h index 3c9c35cdc9d..b64bf43ce5f 100644 --- a/src/game/NullCreatureAI.h +++ b/src/game/NullCreatureAI.h @@ -36,6 +36,18 @@ class TRINITY_DLL_DECL PassiveAI : public CreatureAI static int Permissible(const Creature *) { return PERMIT_BASE_IDLE; } }; +class TRINITY_DLL_DECL PossessedAI : public PassiveAI +{ + public: + PossessedAI(Creature *c) : PassiveAI(c) {} + + void UpdateAI(const uint32); + void EnterEvadeMode() {} + + void JustDied(Unit*); + void KilledUnit(Unit* victim); +}; + class TRINITY_DLL_DECL NullCreatureAI : public PassiveAI { public: |