aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/world/Entity.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/world/Entity.cs')
-rw-r--r--src/world/Entity.cs14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/world/Entity.cs b/src/world/Entity.cs
index 72e4e83..ab07fd6 100644
--- a/src/world/Entity.cs
+++ b/src/world/Entity.cs
@@ -9,9 +9,9 @@ namespace OpenSim.world
9 public class Entity 9 public class Entity
10 { 10 {
11 protected libsecondlife.LLUUID uuid; 11 protected libsecondlife.LLUUID uuid;
12 public Vector3 position; 12 protected Vector3 position;
13 public Vector3 velocity; 13 protected Vector3 velocity;
14 public Quaternion rotation; 14 protected Quaternion rotation;
15 protected string name; 15 protected string name;
16 protected List<Entity> children; 16 protected List<Entity> children;
17 17
@@ -24,13 +24,7 @@ namespace OpenSim.world
24 name = "(basic entity)"; 24 name = "(basic entity)";
25 children = new List<Entity>(); 25 children = new List<Entity>();
26 } 26 }
27 public virtual void addFroces() 27
28 {
29 foreach (Entity child in children)
30 {
31 child.addFroces();
32 }
33 }
34 public virtual void update() { 28 public virtual void update() {
35 // Do any per-frame updates needed that are applicable to every type of entity 29 // Do any per-frame updates needed that are applicable to every type of entity
36 foreach (Entity child in children) 30 foreach (Entity child in children)