Ejemplo n.º 1
0
        public void StartDebugTools()
        {
            if (GameFacade.DebugWindow != null)
            {
                if (GameFacade.DebugWindow.Visible)
                {
                    GameFacade.DebugWindow.Hide();
                }
                else
                {
                    GameFacade.DebugWindow.Show();
                }
                return;
            }

            var debugWindow = new FSO.Client.Debug.TSOClientTools();

            GameFacade.DebugWindow = debugWindow;

            /** Position the debug window **/

            debugWindow.Show();

            //debugWindow.PositionAroundGame(GameFacade.Game.Window);
        }
Ejemplo n.º 2
0
        public void StartDebugTools()
        {
            if (GameFacade.DebugWindow != null)
            {
                if (GameFacade.DebugWindow.Visible)
                {
                    GameFacade.DebugWindow.Hide();
                }
                else
                {
                    GameFacade.DebugWindow.Show();
                }
                return;
            }

            var debugWindow = new FSO.Client.Debug.TSOClientTools();
            GameFacade.DebugWindow = debugWindow;

            /** Position the debug window **/

            debugWindow.Show();

            //debugWindow.PositionAroundGame(GameFacade.Game.Window);
        }