diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs b/OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs new file mode 100644 index 0000000..fd601cb --- /dev/null +++ b/OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs | |||
@@ -0,0 +1,25 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | using OpenSim.Region.Environment.Scenes; | ||
6 | |||
7 | namespace OpenSim.Region.Environment.Scripting | ||
8 | { | ||
9 | // This class is to be used for engines which may not be able to access the Scene directly. | ||
10 | // Scene access is preffered, but obviously not possible on some non-.NET languages. | ||
11 | public class ScriptAPI | ||
12 | { | ||
13 | Scene scene; | ||
14 | |||
15 | public ScriptAPI(Scene world) | ||
16 | { | ||
17 | scene = world; | ||
18 | } | ||
19 | |||
20 | public Object CallMethod(String method, Object[] args) | ||
21 | { | ||
22 | return null; | ||
23 | } | ||
24 | } | ||
25 | } | ||