示例#1
0
 void OnKeyPressed(DataEventArgs <KeyCode> e)
 {
     KeyPressed?.Invoke(this, e);
 }
        protected virtual void OnKeyPressed(KeyPressedHandledEventArgs e)
        {
            KeyPressedEventHandler handler = KeyPressed;

            handler?.Invoke(this, e);
        }
示例#3
0
 void OnTerminate(DataEventArgs <KeyCode> e)
 {
     Terminate?.Invoke(this, e);
 }