Refactored subtypes to enum

This commit is contained in:
Evan Kranzler 2017-09-07 21:18:19 -04:00
parent e21f6aacde
commit 245bf2f2df
9131 changed files with 52127 additions and 44576 deletions

View file

@ -30,6 +30,7 @@ package mage.game.permanent.token;
import java.util.Arrays;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.MageInt;
/**
@ -42,8 +43,8 @@ public class GoblinRogueToken extends Token {
super("Goblin Rogue", "1/1 black Goblin Rogue creature token");
cardType.add(CardType.CREATURE);
color.setBlack(true);
subtype.add("Goblin");
subtype.add("Rogue");
subtype.add(SubType.GOBLIN);
subtype.add(SubType.ROGUE);
power = new MageInt(1);
toughness = new MageInt(1);
availableImageSetCodes.addAll(Arrays.asList("LRW", "MMA"));