diff options
author | lbsa71 | 2007-08-16 17:08:03 +0000 |
---|---|---|
committer | lbsa71 | 2007-08-16 17:08:03 +0000 |
commit | 25fd8d02738e61e81f93ac784b02ab84697ee528 (patch) | |
tree | db1dda71b3aa86770fa90ae84d4ac361a6fd84c7 /OpenSim/Region/Environment/Scenes/EntityBase.cs | |
parent | Deleted old inventoryCache.cs (diff) | |
download | opensim-SC_OLD-25fd8d02738e61e81f93ac784b02ab84697ee528.zip opensim-SC_OLD-25fd8d02738e61e81f93ac784b02ab84697ee528.tar.gz opensim-SC_OLD-25fd8d02738e61e81f93ac784b02ab84697ee528.tar.bz2 opensim-SC_OLD-25fd8d02738e61e81f93ac784b02ab84697ee528.tar.xz |
* Introduced IScriptHost as an interface to fetching object data from scripts.
* This meant introducing AbsolutePosition on all objects (since SimChat wants that)
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/EntityBase.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/EntityBase.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/EntityBase.cs b/OpenSim/Region/Environment/Scenes/EntityBase.cs index 5f2634d..a4d9ac5 100644 --- a/OpenSim/Region/Environment/Scenes/EntityBase.cs +++ b/OpenSim/Region/Environment/Scenes/EntityBase.cs | |||
@@ -1,10 +1,11 @@ | |||
1 | using System.Collections.Generic; | 1 | using System.Collections.Generic; |
2 | using Axiom.Math; | 2 | using Axiom.Math; |
3 | using libsecondlife; | 3 | using libsecondlife; |
4 | using OpenSim.Region.Environment.Scenes.Scripting; | ||
4 | 5 | ||
5 | namespace OpenSim.Region.Environment.Scenes | 6 | namespace OpenSim.Region.Environment.Scenes |
6 | { | 7 | { |
7 | public abstract class EntityBase | 8 | public abstract class EntityBase : IScriptHost |
8 | { | 9 | { |
9 | protected List<EntityBase> m_children; | 10 | protected List<EntityBase> m_children; |
10 | 11 | ||
@@ -37,7 +38,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
37 | /// <summary> | 38 | /// <summary> |
38 | /// | 39 | /// |
39 | /// </summary> | 40 | /// </summary> |
40 | public virtual LLVector3 Pos | 41 | public virtual LLVector3 AbsolutePosition |
41 | { | 42 | { |
42 | get { return m_pos; } | 43 | get { return m_pos; } |
43 | set { m_pos = value; } | 44 | set { m_pos = value; } |