diff options
| author | Blaymoira <none@none> | 2008-12-11 21:32:08 +0100 |
|---|---|---|
| committer | Blaymoira <none@none> | 2008-12-11 21:32:08 +0100 |
| commit | 236553f40804c30d4ed8f1a29e01a76dd7be809a (patch) | |
| tree | 5b7e5d38aa0e1e002a932fb86d2c01e0289b1599 /src/game/Object.h | |
| parent | 5d003e3a6079388149473f0a3da6089b47404a29 (diff) | |
| parent | f2028e1583bf935fc3d096748d5b07428cdcaa00 (diff) | |
*Merged 459
--HG--
branch : trunk
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: |
