mirror of
https://github.com/correl/mage.git
synced 2025-01-19 11:04:14 +00:00
8494e98693
* Implemented Yorion, Sky Nomad * Implemented Yorion, Sky Nomad (but for real this time) * updated game creation to use the correct deck size for limited
53 lines
1.3 KiB
Java
53 lines
1.3 KiB
Java
|
|
|
|
package mage.game;
|
|
|
|
import java.util.UUID;
|
|
import mage.constants.MultiplayerAttackOption;
|
|
import mage.constants.RangeOfInfluence;
|
|
import mage.game.match.MatchType;
|
|
import mage.game.mulligan.Mulligan;
|
|
|
|
/**
|
|
*
|
|
* @author spjspj
|
|
*/
|
|
public class PennyDreadfulCommanderFreeForAll extends GameCommanderImpl {
|
|
|
|
private int numPlayers;
|
|
|
|
public PennyDreadfulCommanderFreeForAll(MultiplayerAttackOption attackOption, RangeOfInfluence range, Mulligan mulligan, int startLife) {
|
|
super(attackOption, range, mulligan, startLife, 60);
|
|
}
|
|
|
|
public PennyDreadfulCommanderFreeForAll(final PennyDreadfulCommanderFreeForAll game) {
|
|
super(game);
|
|
this.numPlayers = game.numPlayers;
|
|
}
|
|
|
|
@Override
|
|
protected void init(UUID choosingPlayerId) {
|
|
startingPlayerSkipsDraw = false;
|
|
super.init(choosingPlayerId);
|
|
}
|
|
|
|
@Override
|
|
public MatchType getGameType() {
|
|
return new PennyDreadfulCommanderFreeForAllType();
|
|
}
|
|
|
|
@Override
|
|
public int getNumPlayers() {
|
|
return numPlayers;
|
|
}
|
|
|
|
public void setNumPlayers(int numPlayers) {
|
|
this.numPlayers = numPlayers;
|
|
}
|
|
|
|
@Override
|
|
public PennyDreadfulCommanderFreeForAll copy() {
|
|
return new PennyDreadfulCommanderFreeForAll(this);
|
|
}
|
|
|
|
}
|