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