mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
26 lines
640 B
Java
26 lines
640 B
Java
|
|
package mage.game;
|
|
|
|
import mage.game.match.MatchImpl;
|
|
import mage.game.match.MatchOptions;
|
|
|
|
/**
|
|
*
|
|
* @author BetaSteward_at_googlemail.com
|
|
*/
|
|
public class TwoPlayerMatch extends MatchImpl {
|
|
|
|
public TwoPlayerMatch(MatchOptions options) {
|
|
super(options);
|
|
}
|
|
|
|
@Override
|
|
public void startGame() throws GameException {
|
|
TwoPlayerDuel game = new TwoPlayerDuel(options.getAttackOption(), options.getRange(), options.getFreeMulligans(), 20);
|
|
// Sets a start message about the match score
|
|
game.setStartMessage(this.createGameStartMessage());
|
|
initGame(game);
|
|
games.add(game);
|
|
}
|
|
|
|
}
|