diff options
author | lbsa71 | 2007-08-07 16:37:08 +0000 |
---|---|---|
committer | lbsa71 | 2007-08-07 16:37:08 +0000 |
commit | 2a0a8c43efc74d43ad75942a730d151d1aebb439 (patch) | |
tree | 27c709a706ab3e64ca1c44d7fe030b8f8f7f7b4c /OpenSim/Region/Scripting/Script.cs | |
parent | actually transfer some data to the row definition. Going to hook (diff) | |
download | opensim-SC_OLD-2a0a8c43efc74d43ad75942a730d151d1aebb439.zip opensim-SC_OLD-2a0a8c43efc74d43ad75942a730d151d1aebb439.tar.gz opensim-SC_OLD-2a0a8c43efc74d43ad75942a730d151d1aebb439.tar.bz2 opensim-SC_OLD-2a0a8c43efc74d43ad75942a730d151d1aebb439.tar.xz |
* Removed duplicated Script residue
Diffstat (limited to 'OpenSim/Region/Scripting/Script.cs')
-rw-r--r-- | OpenSim/Region/Scripting/Script.cs | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/OpenSim/Region/Scripting/Script.cs b/OpenSim/Region/Scripting/Script.cs deleted file mode 100644 index 0551ea0..0000000 --- a/OpenSim/Region/Scripting/Script.cs +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | using OpenSim.Framework.Console; | ||
6 | using OpenSim.Framework; | ||
7 | using OpenSim.Region; | ||
8 | using OpenSim.Region.Scenes; | ||
9 | |||
10 | namespace OpenSim.Scripting | ||
11 | { | ||
12 | public interface IScript | ||
13 | { | ||
14 | void Initialise(ScriptInfo scriptInfo); | ||
15 | } | ||
16 | |||
17 | public class TestScript : IScript | ||
18 | { | ||
19 | ScriptInfo script; | ||
20 | |||
21 | public void Initialise(ScriptInfo scriptInfo) | ||
22 | { | ||
23 | script = scriptInfo; | ||
24 | script.events.OnFrame += new OpenSim.Region.Scenes.EventManager.OnFrameDelegate(events_OnFrame); | ||
25 | } | ||
26 | |||
27 | void events_OnFrame() | ||
28 | { | ||
29 | script.logger.Verbose("Hello World!"); | ||
30 | } | ||
31 | } | ||
32 | } | ||