AGS.Editor.Components.BuildCommandsComponent.TestGame C# (CSharp) Method

TestGame() private method

private TestGame ( bool withDebugger ) : void
withDebugger bool
return void
        private void TestGame(bool withDebugger)
        {
            bool forceRebuild;

            forceRebuild = _agsEditor.NeedsRebuildForDebugMode();
            if (_agsEditor.SaveGameFiles())
            {
                if (!_agsEditor.CompileGame(forceRebuild, true).HasErrors)
                {
                    _testGameInProgress = true;
                    _guiController.InteractiveTasks.TestGame(withDebugger);
                }
            }
        }