diff options
author | Adam Frisby | 2009-04-04 23:23:24 +0000 |
---|---|---|
committer | Adam Frisby | 2009-04-04 23:23:24 +0000 |
commit | 746729b6cefce7093d346e21909b35440dd88569 (patch) | |
tree | a4782a6b9db82e6562c354b79eba480e477818de /OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs | |
parent | * Implements IObjectPhysics, this collects Physics attributes into one interf... (diff) | |
download | opensim-SC_OLD-746729b6cefce7093d346e21909b35440dd88569.zip opensim-SC_OLD-746729b6cefce7093d346e21909b35440dd88569.tar.gz opensim-SC_OLD-746729b6cefce7093d346e21909b35440dd88569.tar.bz2 opensim-SC_OLD-746729b6cefce7093d346e21909b35440dd88569.tar.xz |
* Implements IObjectPhysics on SOPObject partially.
* Eg, IObject.Physics.* is now valid syntax and compiles (but will throw NotSupported at runtime)
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs index 0b8fc37..36d016e 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs | |||
@@ -28,6 +28,7 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Drawing; | 29 | using System.Drawing; |
30 | using OpenMetaverse; | 30 | using OpenMetaverse; |
31 | using OpenSim.Region.OptionalModules.Scripting.Minimodule.Object; | ||
31 | 32 | ||
32 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | 33 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule |
33 | { | 34 | { |
@@ -140,7 +141,6 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
140 | /// </summary> | 141 | /// </summary> |
141 | String Text { get; set; } | 142 | String Text { get; set; } |
142 | 143 | ||
143 | bool IsPhysical { get; set; } // SetStatus(PHYSICS) | ||
144 | bool IsPhantom { get; set; } // SetStatus(PHANTOM) | 144 | bool IsPhantom { get; set; } // SetStatus(PHANTOM) |
145 | bool IsRotationLockedX { get; set; } // SetStatus(!ROTATE_X) | 145 | bool IsRotationLockedX { get; set; } // SetStatus(!ROTATE_X) |
146 | bool IsRotationLockedY { get; set; } // SetStatus(!ROTATE_Y) | 146 | bool IsRotationLockedY { get; set; } // SetStatus(!ROTATE_Y) |
@@ -162,6 +162,9 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
162 | 162 | ||
163 | PhysicsMaterial PhysicsMaterial { get; set; } | 163 | PhysicsMaterial PhysicsMaterial { get; set; } |
164 | 164 | ||
165 | IObjectPhysics Physics { get; } | ||
166 | |||
167 | |||
165 | /// <summary> | 168 | /// <summary> |
166 | /// Causes the object to speak to its surroundings, | 169 | /// Causes the object to speak to its surroundings, |
167 | /// equivilent to LSL/OSSL llSay | 170 | /// equivilent to LSL/OSSL llSay |