aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/EntityBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/EntityBase.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/EntityBase.cs21
1 files changed, 10 insertions, 11 deletions
diff --git a/OpenSim/Region/Environment/Scenes/EntityBase.cs b/OpenSim/Region/Environment/Scenes/EntityBase.cs
index 2caab9e..bc27ec8 100644
--- a/OpenSim/Region/Environment/Scenes/EntityBase.cs
+++ b/OpenSim/Region/Environment/Scenes/EntityBase.cs
@@ -1,30 +1,25 @@
1using System.Collections.Generic; 1using System.Collections.Generic;
2using Axiom.Math; 2using Axiom.Math;
3using libsecondlife; 3using libsecondlife;
4using OpenSim.Region.Environment.Scenes.Scripting;
5 4
6namespace OpenSim.Region.Environment.Scenes 5namespace OpenSim.Region.Environment.Scenes
7{ 6{
8 public abstract class EntityBase 7 public abstract class EntityBase
9 { 8 {
10 protected List<EntityBase> m_children; 9 protected List<EntityBase> m_children;
11 10
12 protected Scene m_scene; 11 protected Scene m_scene;
13 12
14 public LLUUID m_uuid; 13 public LLUUID m_uuid;
14
15 public virtual LLUUID UUID 15 public virtual LLUUID UUID
16 { 16 {
17 get 17 get { return m_uuid; }
18 { 18 set { m_uuid = value; }
19 return m_uuid;
20 }
21 set
22 {
23 m_uuid = value;
24 }
25 } 19 }
26 20
27 protected string m_name; 21 protected string m_name;
22
28 /// <summary> 23 /// <summary>
29 /// 24 ///
30 /// </summary> 25 /// </summary>
@@ -35,6 +30,7 @@ namespace OpenSim.Region.Environment.Scenes
35 } 30 }
36 31
37 protected LLVector3 m_pos; 32 protected LLVector3 m_pos;
33
38 /// <summary> 34 /// <summary>
39 /// 35 ///
40 /// </summary> 36 /// </summary>
@@ -45,6 +41,7 @@ namespace OpenSim.Region.Environment.Scenes
45 } 41 }
46 42
47 public LLVector3 m_velocity; 43 public LLVector3 m_velocity;
44
48 /// <summary> 45 /// <summary>
49 /// 46 ///
50 /// </summary> 47 /// </summary>
@@ -55,6 +52,7 @@ namespace OpenSim.Region.Environment.Scenes
55 } 52 }
56 53
57 protected Quaternion m_rotation = new Quaternion(0, 0, 1, 0); 54 protected Quaternion m_rotation = new Quaternion(0, 0, 1, 0);
55
58 public virtual Quaternion Rotation 56 public virtual Quaternion Rotation
59 { 57 {
60 get { return m_rotation; } 58 get { return m_rotation; }
@@ -62,6 +60,7 @@ namespace OpenSim.Region.Environment.Scenes
62 } 60 }
63 61
64 protected uint m_localId; 62 protected uint m_localId;
63
65 public virtual uint LocalId 64 public virtual uint LocalId
66 { 65 {
67 get { return m_localId; } 66 get { return m_localId; }
@@ -125,5 +124,5 @@ namespace OpenSim.Region.Environment.Scenes
125 } 124 }
126 125
127 public abstract void SetText(string text, Vector3 color, double alpha); 126 public abstract void SetText(string text, Vector3 color, double alpha);
128 } 127 }
129} \ No newline at end of file 128} \ No newline at end of file