예제 #1
0
        public void TriggerTimeRanOutEvent(TimeModule module, Mario mario)
        {
            TimeRanOutEventArgs args = new TimeRanOutEventArgs(module, mario);

            OnRaiseTimeRanOutEvent(args);
        }
예제 #2
0
        protected virtual void OnRaiseTimeRanOutEvent(TimeRanOutEventArgs e)
        {
            EventHandler <TimeRanOutEventArgs> handler = RaiseTimeRanOutEvent;

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