forked from External/mage
remove games from list when finished + added name and owner to tables
This commit is contained in:
parent
2f515e242b
commit
017b2b4339
12 changed files with 770 additions and 624 deletions
|
|
@ -47,6 +47,8 @@ public class TableView implements Serializable {
|
|||
private UUID tableId;
|
||||
private String gameType;
|
||||
private String deckType;
|
||||
private String tableName;
|
||||
private String controllerName;
|
||||
private TableState tableState;
|
||||
private boolean isTournament;
|
||||
private List<SeatView> seats = new ArrayList<SeatView>();
|
||||
|
|
@ -55,6 +57,8 @@ public class TableView implements Serializable {
|
|||
public TableView(Table table) {
|
||||
this.tableId = table.getId();
|
||||
this.gameType = table.getGameType();
|
||||
this.tableName = table.getName();
|
||||
this.controllerName = table.getControllerName();
|
||||
this.deckType = table.getDeckType();
|
||||
this.tableState = table.getState();
|
||||
this.isTournament = table.isTournament();
|
||||
|
|
@ -72,6 +76,14 @@ public class TableView implements Serializable {
|
|||
return tableId;
|
||||
}
|
||||
|
||||
public String getTableName() {
|
||||
return tableName;
|
||||
}
|
||||
|
||||
public String getControllerName() {
|
||||
return controllerName;
|
||||
}
|
||||
|
||||
public String getGameType() {
|
||||
return gameType;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue