Begin() публичный Метод

public Begin ( ) : void
Результат void
Пример #1
0
        private bool ButtonConfirmEvent(string btn)
        {
            Configuration.Global.SetValue("mbc_match_rounds", roundsNumberControl.Value.ToString());
            var match = new ClassicMatch();

            match.PlayerCreate(red);
            match.PlayerCreate(blue);
            CompetitionRun runner = new CompetitionRun(match, millisecondControl.Value, showBoards.IsChecked);

            BattleshipConsole.AddModule(runner);
            BattleshipConsole.RemoveModule(this);
            BattleshipConsole.UpdateDisplay();
            runner.Begin();
            return(true);
        }
 private bool ButtonConfirmEvent(string btn)
 {
     Configuration.Global.SetValue("mbc_match_rounds", roundsNumberControl.Value.ToString());
     var match = new ClassicMatch();
     match.PlayerCreate(red);
     match.PlayerCreate(blue);
     CompetitionRun runner = new CompetitionRun(match, millisecondControl.Value, showBoards.IsChecked);
     BattleshipConsole.AddModule(runner);
     BattleshipConsole.RemoveModule(this);
     BattleshipConsole.UpdateDisplay();
     runner.Begin();
     return true;
 }