mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
* Number of wins can be set for tournaments. * Current score of running matches is shown in the table list.
This commit is contained in:
parent
bbf277f17e
commit
3dbdba32e9
6 changed files with 129 additions and 52 deletions
|
|
@ -70,6 +70,8 @@ public interface Tournament {
|
|||
void addPlayerQueryEventListener(Listener<PlayerQueryEvent> listener);
|
||||
void fireConstructEvent(UUID playerId);
|
||||
|
||||
TournamentOptions getOptions();
|
||||
|
||||
// tournament times
|
||||
Date getStartTime();
|
||||
Date getEndTime();
|
||||
|
|
|
|||
|
|
@ -90,6 +90,11 @@ public abstract class TournamentImpl implements Tournament {
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public TournamentOptions getOptions() {
|
||||
return options;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Collection<TournamentPlayer> getPlayers() {
|
||||
return players.values();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue