Refactor - moved HumanWizardToken to shared area

This commit is contained in:
JOAC69 2016-09-24 23:59:56 -05:00
parent 97bf274fc8
commit c00692ffad
3 changed files with 19 additions and 13 deletions

View file

@ -49,7 +49,7 @@ import mage.filter.predicate.mageobject.CardTypePredicate;
import mage.filter.predicate.mageobject.SubtypePredicate;
import mage.filter.predicate.permanent.ControllerPredicate;
import mage.game.Game;
import mage.game.permanent.token.Token;
import mage.game.permanent.token.HumanWizardToken;
import mage.players.Player;
/**
@ -134,15 +134,3 @@ class DocentOfPerfectionEffect extends OneShotEffect {
}
}
class HumanWizardToken extends Token {
public HumanWizardToken() {
super("Human Wizard", "1/1 blue Human Wizard creature token");
cardType.add(CardType.CREATURE);
subtype.add("Human");
subtype.add("Wizard");
color.setBlue(true);
power = new MageInt(1);
toughness = new MageInt(1);
}
}

View file

@ -49,6 +49,7 @@ import mage.filter.predicate.Predicates;
import mage.filter.predicate.mageobject.CardTypePredicate;
import mage.filter.predicate.mageobject.SubtypePredicate;
import mage.filter.predicate.permanent.ControllerPredicate;
import mage.game.permanent.token.HumanWizardToken;
/**
*

View file

@ -0,0 +1,17 @@
package mage.game.permanent.token;
import mage.MageInt;
import mage.constants.CardType;
public class HumanWizardToken extends Token {
public HumanWizardToken() {
super("Human Wizard", "1/1 blue Human Wizard creature token");
cardType.add(CardType.CREATURE);
subtype.add("Human");
subtype.add("Wizard");
color.setBlue(true);
power = new MageInt(1);
toughness = new MageInt(1);
}
}