* Some changes to table and match view.

This commit is contained in:
LevelX2 2014-11-01 14:24:23 +01:00
parent 54de525401
commit 8426816b09
13 changed files with 205 additions and 95 deletions

View file

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

View file

@ -77,6 +77,7 @@ public interface Tournament {
TournamentOptions getOptions();
// tournament times
void setStartTime();
Date getStartTime();
Date getEndTime();

View file

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