From 8f0b03597b0bc8ea6873af9a55495407fae1ec56 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Wed, 19 Sep 2007 00:30:55 +0000 Subject: * Modernized ScriptManager to new interface-based module calls. * 'remove redundant this qualifier' ftw --- OpenSim/Region/Environment/Scenes/EntityBase.cs | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes/EntityBase.cs') 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 @@ using System.Collections.Generic; using Axiom.Math; using libsecondlife; -using OpenSim.Region.Environment.Scenes.Scripting; namespace OpenSim.Region.Environment.Scenes { - public abstract class EntityBase + public abstract class EntityBase { protected List m_children; protected Scene m_scene; public LLUUID m_uuid; + public virtual LLUUID UUID { - get - { - return m_uuid; - } - set - { - m_uuid = value; - } + get { return m_uuid; } + set { m_uuid = value; } } protected string m_name; + /// /// /// @@ -35,6 +30,7 @@ namespace OpenSim.Region.Environment.Scenes } protected LLVector3 m_pos; + /// /// /// @@ -45,6 +41,7 @@ namespace OpenSim.Region.Environment.Scenes } public LLVector3 m_velocity; + /// /// /// @@ -55,6 +52,7 @@ namespace OpenSim.Region.Environment.Scenes } protected Quaternion m_rotation = new Quaternion(0, 0, 1, 0); + public virtual Quaternion Rotation { get { return m_rotation; } @@ -62,6 +60,7 @@ namespace OpenSim.Region.Environment.Scenes } protected uint m_localId; + public virtual uint LocalId { get { return m_localId; } @@ -125,5 +124,5 @@ namespace OpenSim.Region.Environment.Scenes } public abstract void SetText(string text, Vector3 color, double alpha); - } + } } \ No newline at end of file -- cgit v1.1