示例#1
0
        public void TriggerMarioActionStateChangedEvent(Mario mario)
        {
            MarioActionStateEventArgs args = new MarioActionStateEventArgs(mario);

            OnRaiseMarioActionStateEvent(args);
        }
示例#2
0
        protected virtual void OnRaiseMarioActionStateEvent(MarioActionStateEventArgs e)
        {
            EventHandler <MarioActionStateEventArgs> handler = RaiseMarioActionStateEvent;

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