diff options
Diffstat (limited to 'OpenSim/Region/ExtensionsScriptModule/ScriptAPI.cs')
-rw-r--r-- | OpenSim/Region/ExtensionsScriptModule/ScriptAPI.cs | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/OpenSim/Region/ExtensionsScriptModule/ScriptAPI.cs b/OpenSim/Region/ExtensionsScriptModule/ScriptAPI.cs index 39dc878..9384efa 100644 --- a/OpenSim/Region/ExtensionsScriptModule/ScriptAPI.cs +++ b/OpenSim/Region/ExtensionsScriptModule/ScriptAPI.cs | |||
@@ -27,24 +27,21 @@ | |||
27 | */ | 27 | */ |
28 | 28 | ||
29 | using System; | 29 | using System; |
30 | using System.Collections.Generic; | 30 | using OpenSim.Region.Environment.Scenes; |
31 | using System.Text; | ||
32 | using Key = libsecondlife.LLUUID; | 31 | using Key = libsecondlife.LLUUID; |
33 | using Rotation = libsecondlife.LLQuaternion; | 32 | using Rotation = libsecondlife.LLQuaternion; |
34 | using Vector = libsecondlife.LLVector3; | 33 | using Vector = libsecondlife.LLVector3; |
35 | using LSLList = System.Collections.Generic.List<string>; | 34 | using LSLList = System.Collections.Generic.List<string>; |
36 | 35 | ||
37 | 36 | ||
38 | using OpenSim.Region.Environment.Scenes; | ||
39 | |||
40 | namespace OpenSim.Region.ExtensionsScriptModule | 37 | namespace OpenSim.Region.ExtensionsScriptModule |
41 | { | 38 | { |
42 | // This class is to be used for engines which may not be able to access the Scene directly. | 39 | // This class is to be used for engines which may not be able to access the Scene directly. |
43 | // Scene access is preffered, but obviously not possible on some non-.NET languages. | 40 | // Scene access is preffered, but obviously not possible on some non-.NET languages. |
44 | public class ScriptAPI | 41 | public class ScriptAPI |
45 | { | 42 | { |
46 | Scene scene; | 43 | private Scene scene; |
47 | ScriptInterpretedAPI interpretedAPI; | 44 | private ScriptInterpretedAPI interpretedAPI; |
48 | 45 | ||
49 | public ScriptAPI(Scene world, Key taskID) | 46 | public ScriptAPI(Scene world, Key taskID) |
50 | { | 47 | { |
@@ -57,4 +54,4 @@ namespace OpenSim.Region.ExtensionsScriptModule | |||
57 | return null; | 54 | return null; |
58 | } | 55 | } |
59 | } | 56 | } |
60 | } | 57 | } \ No newline at end of file |