public InviteEngine(bool isWhite, Game game) { InitializeComponent(); this.Game = game; this.isWhite = isWhite; TournamentInfo = new InfinityChess.TournamentManager.Tournament(this.Game); }
// set form using tournament object public void Set(InfinityChess.TournamentManager.Tournament tournament) { numericGainPerMove.Value = tournament.BlitzHumanGainPerMove; if (tournament.BlitzTimeMin != 0) { numericTime.Value = tournament.BlitzTimeMin; } }
public InviteEngine(UCIEngine uciEngine, Book book, bool isWhite, Game game) { InitializeComponent(); this.Game = game; this.selectedEngine = uciEngine; this.selectedBook = book; this.isWhite = isWhite; TournamentInfo = new InfinityChess.TournamentManager.Tournament(this.Game); }
public Tournament(Game game) { this.Game = game; InitializeComponent(); TournamentInfo = new InfinityChess.TournamentManager.Tournament(this.Game); }
// set form using tournament object public void Set(InfinityChess.TournamentManager.Tournament tournament) { numHourFirst.Value = tournament.LongFirstHour; }
// save form to tournament object public void Get(InfinityChess.TournamentManager.Tournament tournament) { tournament.LongFirstHour = numHourFirst.Value; }
// save form to tournament object public void Get(InfinityChess.TournamentManager.Tournament tournament) { tournament.BlitzTimeMin = numericTime.Value; tournament.BlitzHumanGainPerMove = numericGainPerMove.Value; }