clean some of the most frequent copy constructor / copy method (#11053)

This commit is contained in:
Susucre 2023-08-31 01:48:03 +02:00 committed by GitHub
parent 5ddb69e1ba
commit 96a2c277b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
66 changed files with 132 additions and 134 deletions

View file

@ -42,7 +42,7 @@ class EscalateEffect extends CostModificationEffectImpl {
this.staticText = "Escalate " + cost.getText() + " <i>(Pay this cost for each mode chosen beyond the first.)</i>";
}
EscalateEffect(final EscalateEffect effect) {
private EscalateEffect(final EscalateEffect effect) {
super(effect);
this.cost = effect.cost.copy();
}