diff options
author | Adam Frisby | 2007-07-19 00:55:14 +0000 |
---|---|---|
committer | Adam Frisby | 2007-07-19 00:55:14 +0000 |
commit | e189681095b303597494ee339cde65ae6b4f65de (patch) | |
tree | 0549006781f23cc5aa332609eac05e7fbcd321cd /OpenSim/Region/Environment/Scenes | |
parent | * Moved EventManager to SceneBase (from Scene) (diff) | |
download | opensim-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.cs | 7 |
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 | } |