From e189681095b303597494ee339cde65ae6b4f65de Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Thu, 19 Jul 2007 00:55:14 +0000 Subject: * Added TriggerTouchStart function to Interpreted Events API * One less compiler warning. Heh. --- .../Region/Environment/Scenes/scripting/ScriptInterpretedEvents.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'OpenSim') diff --git a/OpenSim/Region/Environment/Scenes/scripting/ScriptInterpretedEvents.cs b/OpenSim/Region/Environment/Scenes/scripting/ScriptInterpretedEvents.cs index d6456a6..41fe9c5 100644 --- a/OpenSim/Region/Environment/Scenes/scripting/ScriptInterpretedEvents.cs +++ b/OpenSim/Region/Environment/Scenes/scripting/ScriptInterpretedEvents.cs @@ -12,5 +12,12 @@ namespace OpenSim.Region.Scripting { public delegate void OnTouchStartDelegate(Key user); public event OnTouchStartDelegate OnTouchStart; + + + public void TriggerTouchStart(Key user) + { + if (OnTouchStart != null) + OnTouchStart(user); + } } } -- cgit v1.1