forked from External/mage
added Sealed tournaments
This commit is contained in:
parent
44aefaf47a
commit
f7ffbb4773
51 changed files with 652 additions and 143 deletions
|
|
@ -30,6 +30,7 @@ package mage.server.tournament;
|
|||
|
||||
import java.util.UUID;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import mage.cards.decks.Deck;
|
||||
import mage.game.tournament.Tournament;
|
||||
import mage.view.TournamentView;
|
||||
|
||||
|
|
@ -61,6 +62,14 @@ public class TournamentManager {
|
|||
controllers.get(tournamentId).kill(sessionId);
|
||||
}
|
||||
|
||||
public void timeout(UUID tournamentId, UUID sessionId) {
|
||||
controllers.get(tournamentId).timeout(sessionId);
|
||||
}
|
||||
|
||||
public void submitDeck(UUID tournamentId, UUID sessionId, Deck deck) {
|
||||
controllers.get(tournamentId).submitDeck(sessionId, deck);
|
||||
}
|
||||
|
||||
public TournamentView getTournamentView(UUID tournamentId) {
|
||||
return controllers.get(tournamentId).getTournamentView();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue