foul-magics/Mage.Server.Plugins/Mage.Game.FreeformCommanderDuel/src/mage/game/FreeformCommanderDuel.java
Susucre f14479c53c
Add custom options for starting life total and starting hand size (#11259)
* add startHandSize / startLife to the custom option panel

* use the custom startLife/startHandsize in all Game Modes
2023-10-06 23:22:48 -04:00

37 lines
923 B
Java

package mage.game;
import mage.constants.MultiplayerAttackOption;
import mage.constants.RangeOfInfluence;
import mage.game.match.MatchType;
import mage.game.mulligan.Mulligan;
/**
* @author JayDi85
*/
public class FreeformCommanderDuel extends GameCommanderImpl {
public FreeformCommanderDuel(MultiplayerAttackOption attackOption, RangeOfInfluence range,
Mulligan mulligan, int startLife, int startHandSize) {
super(attackOption, range, mulligan, 60, startLife, startHandSize);
}
public FreeformCommanderDuel(final FreeformCommanderDuel game) {
super(game);
}
@Override
public MatchType getGameType() {
return new FreeformCommanderDuelType();
}
@Override
public int getNumPlayers() {
return 2;
}
@Override
public FreeformCommanderDuel copy() {
return new FreeformCommanderDuel(this);
}
}