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

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

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