示例#1
0
        //static void DisplayArenaInternal()
        //{
        //    var pIsCursor = CursorVisible;
        //    GetWindowRect(out CoRect r);

        //    try
        //    {
        //        SetWindowRect(ArenaR);
        //        foreach (var pRobot in mArena.Robots)
        //        {
        //            SetCursorPosition((int)pRobot.LocX * ArenaR.s.w / mArena.MaxX, (int)pRobot.LocY * ArenaR.s.h / mArena.MaxY);
        //            Write(pRobot.IdTeamOrRobot.ToString());
        //        }
        //    }
        //    finally
        //    {
        //        SetWindowRect(r);
        //        pIsCursor = CursorVisible;

        //    }
        //    //SetWindowRect()
        //}

        static void Cancel()
        {
            mArena.CancelMatch();
        }