diff options
Diffstat (limited to 'src/game/Object.h')
-rw-r--r-- | src/game/Object.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Object.h b/src/game/Object.h index 2fcd6692288..a63458e6133 100644 --- a/src/game/Object.h +++ b/src/game/Object.h @@ -28,6 +28,7 @@ #include "GameSystem/GridReference.h" #include "ObjectDefines.h" #include "GridDefines.h" +#include "CreatureAI.h" #include <set> #include <string> @@ -457,6 +458,7 @@ class TRINITY_DLL_SPEC WorldObject : public Object Map const* GetBaseMap() const; Creature* SummonCreature(uint32 id, float x, float y, float z, float ang,TempSummonType spwtype,uint32 despwtime); GameObject* SummonGameObject(uint32 entry, float x, float y, float z, float ang, float rotation0, float rotation1, float rotation2, float rotation3, uint32 respawnTime); + Creature* SummonTrigger(float x, float y, float z, float ang, uint32 dur, CreatureAI* (*GetAI)(Creature*) = NULL); bool isActive() const { return m_isActive; } void setActive(bool isActive); protected: |