forked from External/mage
fixes
This commit is contained in:
parent
19ae34969e
commit
c61881e5df
9 changed files with 36 additions and 13 deletions
|
|
@ -32,7 +32,7 @@ package mage.counters;
|
|||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public class BoostCounter<T extends BoostCounter<T>> extends Counter<T> {
|
||||
public abstract class BoostCounter<T extends BoostCounter<T>> extends Counter<T> {
|
||||
|
||||
protected int power;
|
||||
protected int toughness;
|
||||
|
|
@ -43,6 +43,12 @@ public class BoostCounter<T extends BoostCounter<T>> extends Counter<T> {
|
|||
this.toughness = toughness;
|
||||
}
|
||||
|
||||
public BoostCounter(final BoostCounter counter) {
|
||||
super(counter);
|
||||
this.power = counter.power;
|
||||
this.toughness = counter.toughness;
|
||||
}
|
||||
|
||||
public int getPower() {
|
||||
return power;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue