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);
}
}
}