protected override void GameKeyDown(XKeyboardEventArgs args)
        {
            if (!m_bkeydown)
            {
                Console.WriteLine("按下键:" + args.GetKey());
                m_bkeydown = true;
            }

            if (args.GetKey() == XKeys.Escape)
            {
                SetGameOver(true);
            }
        }
 protected override void GameKeyUp(XKeyboardEventArgs args)
 {
     Console.WriteLine("释放键:" + args.GetKey());
     m_bkeydown = false;
 }