Refactor - moved OozeToken to shared area

This commit is contained in:
JOAC69 2016-09-25 00:16:01 -05:00
parent d3160fb861
commit a5c6cdd9cf
8 changed files with 49 additions and 96 deletions

View file

@ -0,0 +1,24 @@
package mage.game.permanent.token;
import mage.MageInt;
import mage.constants.CardType;
public class OozeToken extends Token {
public OozeToken(MageInt power, MageInt toughness) {
super("Ooze", power + "/" + toughness + " green ooze creature token");
cardType.add(CardType.CREATURE);
color.setGreen(true);
subtype.add("Ooze");
power = new MageInt(0);
toughness = new MageInt(0);
}
public OozeToken() {
super("Ooze", "X/X green ooze creature token");
cardType.add(CardType.CREATURE);
color.setGreen(true);
subtype.add("Ooze");
power = new MageInt(0);
toughness = new MageInt(0);
}
}