* Added TriggerTouchStart function to Interpreted Events API

* One less compiler warning. Heh.
afrisby
Adam Frisby 2007-07-19 00:55:14 +00:00
parent 36fc7390f2
commit e189681095
1 changed files with 7 additions and 0 deletions

View File

@ -12,5 +12,12 @@ namespace OpenSim.Region.Scripting
{ {
public delegate void OnTouchStartDelegate(Key user); public delegate void OnTouchStartDelegate(Key user);
public event OnTouchStartDelegate OnTouchStart; public event OnTouchStartDelegate OnTouchStart;
public void TriggerTouchStart(Key user)
{
if (OnTouchStart != null)
OnTouchStart(user);
}
} }
} }