forked from External/mage
* apply regex to change public copy constructors to protected * cleanup code using now protected constructors * fix manaBuilder weird casting of Mana into ConditionalMana
29 lines
596 B
Java
29 lines
596 B
Java
|
|
|
|
package mage.game.turn;
|
|
|
|
import mage.constants.PhaseStep;
|
|
import mage.game.events.GameEvent.EventType;
|
|
|
|
/**
|
|
* @author BetaSteward_at_googlemail.com
|
|
*/
|
|
public class UpkeepStep extends Step {
|
|
|
|
public UpkeepStep() {
|
|
super(PhaseStep.UPKEEP, true);
|
|
this.stepEvent = EventType.UPKEEP_STEP;
|
|
this.preStepEvent = EventType.UPKEEP_STEP_PRE;
|
|
this.postStepEvent = EventType.UPKEEP_STEP_POST;
|
|
}
|
|
|
|
protected UpkeepStep(final UpkeepStep step) {
|
|
super(step);
|
|
}
|
|
|
|
@Override
|
|
public UpkeepStep copy() {
|
|
return new UpkeepStep(this);
|
|
}
|
|
|
|
}
|