This commit is contained in:
BetaSteward 2010-11-12 04:19:11 +00:00
parent 19ae34969e
commit c61881e5df
9 changed files with 36 additions and 13 deletions

View file

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