Esempio n. 1
0
        public static void AdvanceOutputState()
        {
            switch (_state)
            {
            case DebugOutputState.None:
                _debugCommandUI.ExecuteCommand("tr on log:on");
                _debugCommandUI.ExecuteCommand("fps on");
                _debugCommandUI.ExecuteCommand("memory on");

                _state = DebugOutputState.Basic;
                break;

            case DebugOutputState.Basic:
                _debugCommandUI.ExecuteCommand("fps off");
                _debugCommandUI.ExecuteCommand("memory off");
                _debugCommandUI.ExecuteCommand("th on");

                _state = DebugOutputState.TimeHistory;
                break;

            case DebugOutputState.TimeHistory:
                _debugCommandUI.ExecuteCommand("tr off log:off");
                _debugCommandUI.ExecuteCommand("fps off");
                _debugCommandUI.ExecuteCommand("memory off");
                _debugCommandUI.ExecuteCommand("th off");

                _state = DebugOutputState.None;
                break;
            }
        }
Esempio n. 2
0
        public static void AdvanceOutputState()
        {
            switch (_state) {
                case DebugOutputState.None:
                    _debugCommandUI.ExecuteCommand("tr on log:on");
                    _debugCommandUI.ExecuteCommand("fps on");
                    _debugCommandUI.ExecuteCommand("memory on");

                    _state = DebugOutputState.Basic;
                    break;

                case DebugOutputState.Basic:
                    _debugCommandUI.ExecuteCommand("fps off");
                    _debugCommandUI.ExecuteCommand("memory off");
                    _debugCommandUI.ExecuteCommand("th on");

                    _state = DebugOutputState.TimeHistory;
                    break;

                case DebugOutputState.TimeHistory:
                    _debugCommandUI.ExecuteCommand("tr off log:off");
                    _debugCommandUI.ExecuteCommand("fps off");
                    _debugCommandUI.ExecuteCommand("memory off");
                    _debugCommandUI.ExecuteCommand("th off");

                    _state = DebugOutputState.None;
                    break;
            }
        }
Esempio n. 3
0
        public static void AdvanceToHidden()
        {
            _debugCommandUI.ExecuteCommand("tr off log:off");
            _debugCommandUI.ExecuteCommand("fps off");
            _debugCommandUI.ExecuteCommand("memory off");
            _debugCommandUI.ExecuteCommand("th off");

            _state = DebugOutputState.None;
        }