From acc98fca7b3890ce865fb440737865aa7765a671 Mon Sep 17 00:00:00 2001 From: MW Date: Fri, 2 Mar 2007 18:24:54 +0000 Subject: r105 somehow got put in wrong place, so replacing files --- src/world/Entity.cs | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'src/world/Entity.cs') 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 public class Entity { protected libsecondlife.LLUUID uuid; - public Vector3 position; - public Vector3 velocity; - public Quaternion rotation; + protected Vector3 position; + protected Vector3 velocity; + protected Quaternion rotation; protected string name; protected List children; @@ -24,13 +24,7 @@ namespace OpenSim.world name = "(basic entity)"; children = new List(); } - public virtual void addFroces() - { - foreach (Entity child in children) - { - child.addFroces(); - } - } + public virtual void update() { // Do any per-frame updates needed that are applicable to every type of entity foreach (Entity child in children) -- cgit v1.1