remove games from list when finished + added name and owner to tables

This commit is contained in:
BetaSteward 2011-05-09 23:02:54 -04:00
parent 2f515e242b
commit 017b2b4339
12 changed files with 770 additions and 624 deletions

View file

@ -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;
}