use of mage.game.draft.RandomBoosterDraft in project mage by magefree.
the class RandomBoosterDraftSwissTournament method draft.
@Override
protected void draft() {
draft = new RandomBoosterDraft((DraftOptions) options.getLimitedOptions(), getSets());
for (TournamentPlayer player : players.values()) {
draft.addPlayer(player.getPlayer());
player.setState(TournamentPlayerState.DRAFTING);
}
tableEventSource.fireTableEvent(EventType.START_DRAFT, null, draft);
}
use of mage.game.draft.RandomBoosterDraft in project mage by magefree.
the class RandomBoosterDraftEliminationTournament method draft.
@Override
protected void draft() {
draft = new RandomBoosterDraft((DraftOptions) options.getLimitedOptions(), getSets());
for (TournamentPlayer player : players.values()) {
draft.addPlayer(player.getPlayer());
player.setState(TournamentPlayerState.DRAFTING);
}
tableEventSource.fireTableEvent(EventType.START_DRAFT, null, draft);
}
Aggregations