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

@ -1,26 +1,27 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package mage.game.permanent.token;
import mage.abilities.keyword.SpaceflightAbility;
import mage.constants.CardType;
/**
*
* @author Styxo
*/
public class TIEFighterToken extends Token {
public TIEFighterToken() {
super("TIE Fighter", "1/1 black Starship artifact creature tokens with Spaceflight named TIE Fighter", 1, 1);
this.setOriginalExpansionSetCode("SWS");
cardType.add(CardType.CREATURE);
cardType.add(CardType.ARTIFACT);
color.setBlack(true);
addAbility(SpaceflightAbility.getInstance());
subtype.add("Starship");
}
}
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package mage.game.permanent.token;
import mage.abilities.keyword.SpaceflightAbility;
import mage.constants.CardType;
import mage.constants.SubType;
/**
*
* @author Styxo
*/
public class TIEFighterToken extends Token {
public TIEFighterToken() {
super("TIE Fighter", "1/1 black Starship artifact creature tokens with Spaceflight named TIE Fighter", 1, 1);
this.setOriginalExpansionSetCode("SWS");
cardType.add(CardType.CREATURE);
cardType.add(CardType.ARTIFACT);
color.setBlack(true);
addAbility(SpaceflightAbility.getInstance());
subtype.add(SubType.STARSHIP);
}
}