From ea980ca9282ad4fe77aca81c675c56e30d721f70 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Mon, 6 Aug 2007 12:54:58 +0000 Subject: ... and here's the second part... --- .../Scenes/Scripting/ScriptInterpretedEvents.cs | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 OpenSim/Region/Environment/Scenes/Scripting/ScriptInterpretedEvents.cs (limited to 'OpenSim/Region/Environment/Scenes/Scripting/ScriptInterpretedEvents.cs') diff --git a/OpenSim/Region/Environment/Scenes/Scripting/ScriptInterpretedEvents.cs b/OpenSim/Region/Environment/Scenes/Scripting/ScriptInterpretedEvents.cs new file mode 100644 index 0000000..41fe9c5 --- /dev/null +++ b/OpenSim/Region/Environment/Scenes/Scripting/ScriptInterpretedEvents.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Text; +using OpenSim.Region.Environment.Scenes; +using libsecondlife; +using Key = libsecondlife.LLUUID; + +namespace OpenSim.Region.Scripting +{ + + public class ScriptInterpretedEvents + { + public delegate void OnTouchStartDelegate(Key user); + public event OnTouchStartDelegate OnTouchStart; + + + public void TriggerTouchStart(Key user) + { + if (OnTouchStart != null) + OnTouchStart(user); + } + } +} -- cgit v1.1