aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/_scripting/ScriptInterpretedEvents.cs
blob: 41fe9c539f9a689d14f86c8643bd0b9388fe2def (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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);
        }
    }
}