aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.Region/Scenes/Entity.cs
diff options
context:
space:
mode:
authorlbsa712007-06-20 15:18:54 +0000
committerlbsa712007-06-20 15:18:54 +0000
commit64ed1e1b3bea2b187679a7e61a7d56292c47daab (patch)
tree6757719377b1cfd0300e9ff47eba543f5236be26 /OpenSim/OpenSim.Region/Scenes/Entity.cs
parent* re-added SimpleApp projects (diff)
downloadopensim-SC_OLD-64ed1e1b3bea2b187679a7e61a7d56292c47daab.zip
opensim-SC_OLD-64ed1e1b3bea2b187679a7e61a7d56292c47daab.tar.gz
opensim-SC_OLD-64ed1e1b3bea2b187679a7e61a7d56292c47daab.tar.bz2
opensim-SC_OLD-64ed1e1b3bea2b187679a7e61a7d56292c47daab.tar.xz
* Removed ClientThreads from avatar
* Deleted SimpleApp2 as it's getting wonkier and wonkier by the minute * Added avatar handling to SimpleApp, still don't have any avatar out on the playing field * Removed some warnings * Went from IWorld to Scene *
Diffstat (limited to '')
-rw-r--r--OpenSim/OpenSim.Region/Scenes/Entity.cs10
1 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/OpenSim.Region/Scenes/Entity.cs b/OpenSim/OpenSim.Region/Scenes/Entity.cs
index 007bdaf..2376fc4 100644
--- a/OpenSim/OpenSim.Region/Scenes/Entity.cs
+++ b/OpenSim/OpenSim.Region/Scenes/Entity.cs
@@ -38,7 +38,6 @@ namespace OpenSim.Region.Scenes
38 public abstract class Entity : IScriptReadonlyEntity 38 public abstract class Entity : IScriptReadonlyEntity
39 { 39 {
40 public libsecondlife.LLUUID uuid; 40 public libsecondlife.LLUUID uuid;
41 public uint localid;
42 public LLVector3 velocity; 41 public LLVector3 velocity;
43 public Quaternion rotation; 42 public Quaternion rotation;
44 protected List<Entity> children; 43 protected List<Entity> children;
@@ -128,13 +127,20 @@ namespace OpenSim.Region.Scenes
128 } 127 }
129 } 128 }
130 129
130 protected uint m_localId;
131
132 public uint LocalId
133 {
134 get { return m_localId; }
135 }
136
131 /// <summary> 137 /// <summary>
132 /// Creates a new Entity (should not occur on it's own) 138 /// Creates a new Entity (should not occur on it's own)
133 /// </summary> 139 /// </summary>
134 public Entity() 140 public Entity()
135 { 141 {
136 uuid = new libsecondlife.LLUUID(); 142 uuid = new libsecondlife.LLUUID();
137 localid = 0; 143
138 m_pos = new LLVector3(); 144 m_pos = new LLVector3();
139 velocity = new LLVector3(); 145 velocity = new LLVector3();
140 rotation = new Quaternion(); 146 rotation = new Quaternion();