From f1e13468069b8dc2719b12f0bc9bb3cc0d999e2a Mon Sep 17 00:00:00 2001 From: MW Date: Thu, 31 May 2007 10:12:55 +0000 Subject: Added a few summary comments to OpenSim.World files --- OpenSim/OpenSim.World/Entity.cs | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) (limited to 'OpenSim/OpenSim.World/Entity.cs') diff --git a/OpenSim/OpenSim.World/Entity.cs b/OpenSim/OpenSim.World/Entity.cs index 96e039a..b14beed 100644 --- a/OpenSim/OpenSim.World/Entity.cs +++ b/OpenSim/OpenSim.World/Entity.cs @@ -16,17 +16,22 @@ namespace OpenSim.world public LLVector3 velocity; public Quaternion rotation; protected List children; - + protected LLVector3 m_pos; + protected PhysicsActor _physActor; + protected World m_world; protected string m_name; + + /// + /// + /// public virtual string Name { get { return m_name; } } - protected LLVector3 m_pos; - protected PhysicsActor _physActor; - protected World m_world; - + /// + /// + /// public virtual LLVector3 Pos { get @@ -76,6 +81,9 @@ namespace OpenSim.world children = new List(); } + /// + /// + /// public virtual void addForces() { foreach (Entity child in children) @@ -111,11 +119,17 @@ namespace OpenSim.world return mesh; } + /// + /// Called at a set interval to inform entities that they should back themsleves up to the DB + /// public virtual void BackUp() { } + /// + /// Infoms the entity that the land (heightmap) has changed + /// public virtual void LandRenegerated() { -- cgit v1.1