Search in sources :

Example 1 with RandomBoosterDraft

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);
}
Also used : RandomBoosterDraft(mage.game.draft.RandomBoosterDraft) TournamentPlayer(mage.game.tournament.TournamentPlayer) DraftOptions(mage.game.draft.DraftOptions)

Example 2 with RandomBoosterDraft

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);
}
Also used : RandomBoosterDraft(mage.game.draft.RandomBoosterDraft) TournamentPlayer(mage.game.tournament.TournamentPlayer) DraftOptions(mage.game.draft.DraftOptions)

Aggregations

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