mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 12:52:06 -08:00
* Some changes to table and match view.
This commit is contained in:
parent
54de525401
commit
8426816b09
13 changed files with 205 additions and 95 deletions
|
|
@ -9,9 +9,9 @@ public enum TableState {
|
|||
READY_TO_START("Waiting to start"),
|
||||
STARTING ("Starting"),
|
||||
DRAFTING ("Drafting"),
|
||||
DUELING ("Dueling"),
|
||||
SIDEBOARDING ("Sideboarding"),
|
||||
CONSTRUCTING ("Constructing"),
|
||||
DUELING ("Dueling"),
|
||||
SIDEBOARDING ("Sideboarding"),
|
||||
FINISHED ("Finished");
|
||||
|
||||
private final String text;
|
||||
|
|
|
|||
|
|
@ -77,6 +77,7 @@ public interface Tournament {
|
|||
TournamentOptions getOptions();
|
||||
|
||||
// tournament times
|
||||
void setStartTime();
|
||||
Date getStartTime();
|
||||
Date getEndTime();
|
||||
|
||||
|
|
|
|||
|
|
@ -492,6 +492,12 @@ public abstract class TournamentImpl implements Tournament {
|
|||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setStartTime() {
|
||||
this.stepStartTime = new Date();
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void setStepStartTime(Date stepStartTime) {
|
||||
this.stepStartTime = stepStartTime;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue