forked from External/mage
Refactored subtypes to enum
This commit is contained in:
parent
e21f6aacde
commit
245bf2f2df
9131 changed files with 52127 additions and 44576 deletions
|
|
@ -33,6 +33,7 @@ import java.util.Arrays;
|
|||
import java.util.List;
|
||||
import mage.MageInt;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
public class PlantToken extends Token {
|
||||
|
||||
|
|
@ -46,7 +47,7 @@ public class PlantToken extends Token {
|
|||
super("Plant", "0/1 green Plant creature");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setGreen(true);
|
||||
subtype.add("Plant");
|
||||
subtype.add(SubType.PLANT);
|
||||
power = new MageInt(0);
|
||||
toughness = new MageInt(1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue