public void updateRound(RoundID id)
 {
     updateEveryone(new List <RoundID>()
     {
         id
     });
 }
Exemplo n.º 2
0
 public void setNewId(int col, int row)
 {
     id = new RoundID()
     {
         col = col, row = row
     };
     this.gameSpecs.tournamentRoundID = id;
 }
Exemplo n.º 3
0
 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);
 }
Exemplo n.º 8
0
 public TournamentRound getRound(RoundID ID)
 {
     return(getRound(ID.col, ID.row));
 }
Exemplo n.º 9
0
 public TournamentRoundDTO getRoundDTO(RoundID id)
 {
     return(getRound(id).createDTO());
 }