diff options
| author | megamage <none@none> | 2009-03-12 14:22:59 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-03-12 14:22:59 -0600 |
| commit | 16ee4a46c271bd7c234ffa7579f5f90cf2007772 (patch) | |
| tree | 6d547d8228472fcc97ead5dfcdd8a9aaf8f70233 /src/game/NullCreatureAI.h | |
| parent | 6e12d3f1b9f40f3f95390245f3fcbb30fbd8657f (diff) | |
| parent | 1fbfc6da645058a6da3073dafde0e6bca621e31c (diff) | |
*Merge.
--HG--
branch : trunk
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 671e9ea63ab..f628a7e8ac9 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: |
