public void updateRound(RoundID id) { updateEveryone(new List <RoundID>() { id }); }
public void setNewId(int col, int row) { id = new RoundID() { col = col, row = row }; this.gameSpecs.tournamentRoundID = id; }
public TournamentRound(int col, int row, PreGameSpecs gameSpecs) { id = new RoundID() { col = col, row = row }; this.gameSpecs = ServerUtils.clonePreGameSpecs(gameSpecs); this.gameSpecs.tournamentRoundID = id; }
public void forceIndexWinner(RoundID roundID, int index) { gameTree.getRound(roundID).forceIndexWinner(index); }
public void reportRoundResult(RoundID id, GameOverMsg result) { gameTree.getRound(id).reportResult(result); }
public void startRound(RoundID roundID) { gameTree.getRound(roundID).startGame(); }
public void startRoundPreGame(RoundID roundID, bool forceRestart) { gameTree.getRound(roundID).initAndInvite(forceRestart); }
public TournamentRound getRound(RoundID ID) { return(getRound(ID.col, ID.row)); }
public TournamentRoundDTO getRoundDTO(RoundID id) { return(getRound(id).createDTO()); }