Esempio n. 1
0
        public void TriggerTimeRanOutEvent(TimeModule module, Mario mario)
        {
            TimeRanOutEventArgs args = new TimeRanOutEventArgs(module, mario);

            OnRaiseTimeRanOutEvent(args);
        }
Esempio n. 2
0
        protected virtual void OnRaiseTimeRanOutEvent(TimeRanOutEventArgs e)
        {
            EventHandler <TimeRanOutEventArgs> handler = RaiseTimeRanOutEvent;

            handler?.Invoke(e.Sender, e);
        }