void OnKeyPressed(DataEventArgs <KeyCode> e) { KeyPressed?.Invoke(this, e); }
protected virtual void OnKeyPressed(KeyPressedHandledEventArgs e) { KeyPressedEventHandler handler = KeyPressed; handler?.Invoke(this, e); }
void OnTerminate(DataEventArgs <KeyCode> e) { Terminate?.Invoke(this, e); }