Search in sources :

Example 1 with BoosterDraft

use of mage.game.draft.BoosterDraft in project mage by magefree.

the class BoosterDraftEliminationTournament method draft.

protected void draft() {
    draft = new BoosterDraft((DraftOptions) options.getLimitedOptions(), getSets());
    for (TournamentPlayer player : players.values()) {
        draft.addPlayer(player.getPlayer());
        player.setState(TournamentPlayerState.DRAFTING);
    }
    tableEventSource.fireTableEvent(EventType.START_DRAFT, null, draft);
}
Also used : BoosterDraft(mage.game.draft.BoosterDraft) TournamentPlayer(mage.game.tournament.TournamentPlayer) DraftOptions(mage.game.draft.DraftOptions)

Example 2 with BoosterDraft

use of mage.game.draft.BoosterDraft in project mage by magefree.

the class BoosterDraftSwissTournament method draft.

protected void draft() {
    draft = new BoosterDraft((DraftOptions) options.getLimitedOptions(), getSets());
    for (TournamentPlayer player : players.values()) {
        draft.addPlayer(player.getPlayer());
        player.setState(TournamentPlayerState.DRAFTING);
    }
    tableEventSource.fireTableEvent(TableEvent.EventType.START_DRAFT, null, draft);
}
Also used : BoosterDraft(mage.game.draft.BoosterDraft) TournamentPlayer(mage.game.tournament.TournamentPlayer) DraftOptions(mage.game.draft.DraftOptions)

Aggregations

BoosterDraft (mage.game.draft.BoosterDraft)2 DraftOptions (mage.game.draft.DraftOptions)2 TournamentPlayer (mage.game.tournament.TournamentPlayer)2