aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
authorAdam Frisby2007-07-19 00:55:14 +0000
committerAdam Frisby2007-07-19 00:55:14 +0000
commite189681095b303597494ee339cde65ae6b4f65de (patch)
tree0549006781f23cc5aa332609eac05e7fbcd321cd /OpenSim/Region/Environment/Scenes
parent* Moved EventManager to SceneBase (from Scene) (diff)
downloadopensim-SC_OLD-e189681095b303597494ee339cde65ae6b4f65de.zip
opensim-SC_OLD-e189681095b303597494ee339cde65ae6b4f65de.tar.gz
opensim-SC_OLD-e189681095b303597494ee339cde65ae6b4f65de.tar.bz2
opensim-SC_OLD-e189681095b303597494ee339cde65ae6b4f65de.tar.xz
* Added TriggerTouchStart function to Interpreted Events API
* One less compiler warning. Heh.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/scripting/ScriptInterpretedEvents.cs7
1 files changed, 7 insertions, 0 deletions
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
12 { 12 {
13 public delegate void OnTouchStartDelegate(Key user); 13 public delegate void OnTouchStartDelegate(Key user);
14 public event OnTouchStartDelegate OnTouchStart; 14 public event OnTouchStartDelegate OnTouchStart;
15
16
17 public void TriggerTouchStart(Key user)
18 {
19 if (OnTouchStart != null)
20 OnTouchStart(user);
21 }
15 } 22 }
16} 23}