forked from External/mage
Tournaments status is updated now and if tournament finished, it's moved to the lower finished matches view.
This commit is contained in:
parent
095c3c5776
commit
402f7fffd9
12 changed files with 89 additions and 24 deletions
|
|
@ -418,6 +418,14 @@ public class TableController {
|
|||
table.construct();
|
||||
}
|
||||
|
||||
public void initTournament() {
|
||||
table.initTournament();
|
||||
}
|
||||
|
||||
public void endTournament(Tournament tournament) {
|
||||
table.endTournament();
|
||||
}
|
||||
|
||||
public MatchOptions getOptions() {
|
||||
return options;
|
||||
}
|
||||
|
|
@ -483,10 +491,6 @@ public class TableController {
|
|||
tournament.nextStep();
|
||||
}
|
||||
|
||||
public void endTournament(Tournament tournament) {
|
||||
//TODO: implement this
|
||||
}
|
||||
|
||||
public void swapSeats(int seatNum1, int seatNum2) {
|
||||
if (table.getState() == TableState.STARTING) {
|
||||
if (seatNum1 >= 0 && seatNum2 >= 0 && seatNum1 < table.getSeats().length && seatNum2 < table.getSeats().length) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue