forked from External/mage
show completed matches - view replays
This commit is contained in:
parent
8c9db5876e
commit
4a653d55cd
11 changed files with 396 additions and 46 deletions
|
|
@ -36,6 +36,7 @@ import mage.game.GameException;
|
|||
import mage.game.match.MatchOptions;
|
||||
import mage.game.tournament.TournamentOptions;
|
||||
import mage.MageException;
|
||||
import mage.view.MatchView;
|
||||
import mage.view.TableView;
|
||||
|
||||
/**
|
||||
|
|
@ -45,6 +46,7 @@ import mage.view.TableView;
|
|||
public interface GamesRoom extends Room {
|
||||
|
||||
public List<TableView> getTables();
|
||||
public List<MatchView> getFinished();
|
||||
public boolean joinTable(UUID userId, UUID tableId, String name, String playerType, int skill, DeckCardLists deckList) throws MageException;
|
||||
public boolean joinTournamentTable(UUID userId, UUID tableId, String name, String playerType, int skill) throws GameException;
|
||||
public TableView createTable(UUID userId, MatchOptions options);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue