mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
Refactor mulligans out of GameImpl and add Paris, Vancouver, London, and Canadian Highlander. Refactor GameImpls to use their specific mulligan.
This commit is contained in:
parent
83d8f5a538
commit
7885a42168
14 changed files with 444 additions and 202 deletions
|
|
@ -4,6 +4,7 @@ package mage.game;
|
|||
import mage.constants.MultiplayerAttackOption;
|
||||
import mage.constants.RangeOfInfluence;
|
||||
import mage.game.match.MatchType;
|
||||
import mage.game.mulligan.VancouverMulligan;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -14,7 +15,7 @@ public class FreeForAll extends GameImpl {
|
|||
private int numPlayers;
|
||||
|
||||
public FreeForAll(MultiplayerAttackOption attackOption, RangeOfInfluence range, int freeMulligans, int startLife) {
|
||||
super(attackOption, range, freeMulligans, startLife);
|
||||
super(attackOption, range, new VancouverMulligan(freeMulligans), startLife);
|
||||
}
|
||||
|
||||
public FreeForAll(final FreeForAll game) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue