foul-magics/Mage/src/main/java/mage/game/turn/UpkeepStep.java
Susucre f75b1c9f0a
Code cleanup: protect all copy constructors (#10750)
* apply regex to change public copy constructors to protected
* cleanup code using now protected constructors
* fix manaBuilder weird casting of Mana into ConditionalMana
2023-08-04 19:34:58 -04:00

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);
}
}