aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-26 20:43:35 -0600
committermegamage <none@none>2009-02-26 20:43:35 -0600
commitd3a69006675bb5317fab76584d5990b36c2fd5a5 (patch)
tree8a0f3e0033eb694d5aba06db5c1ecc02b690099e /src/game/Object.h
parent39c513776c5dde8b5732df5ba2467d9e9e3e84fd (diff)
parentbc54e91afff9b9a53902439441fa2e63e3da1a9a (diff)
*Merge.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Object.h')
-rw-r--r--src/game/Object.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/Object.h b/src/game/Object.h
index 266442775b5..bf88c4dd2dc 100644
--- a/src/game/Object.h
+++ b/src/game/Object.h
@@ -500,8 +500,9 @@ class TRINITY_DLL_SPEC WorldObject : public Object
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);
+ bool isActiveObject() const { return m_isActive; }
+ void setActive(bool isActiveObject);
+ void SetWorldObject(bool apply);
template<class NOTIFIER> void VisitNearbyObject(const float &radius, NOTIFIER &notifier) const { GetMap()->VisitAll(GetPositionX(), GetPositionY(), radius, notifier); }
template<class NOTIFIER> void VisitNearbyGridObject(const float &radius, NOTIFIER &notifier) const { GetMap()->VisitGrid(GetPositionX(), GetPositionY(), radius, notifier); }
template<class NOTIFIER> void VisitNearbyWorldObject(const float &radius, NOTIFIER &notifier) const { GetMap()->VisitWorld(GetPositionX(), GetPositionY(), radius, notifier); }