diff options
Diffstat (limited to 'OpenSim/OpenSim.Region/Scenes/Entity.cs')
-rw-r--r-- | OpenSim/OpenSim.Region/Scenes/Entity.cs | 10 |
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(); |