refactor cards to use supertype enum

This commit is contained in:
ingmargoudt 2017-03-27 20:36:54 +02:00
parent 84559457d3
commit 0879298e92
6374 changed files with 17783 additions and 14013 deletions

View file

@ -34,16 +34,16 @@ import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.abilities.mana.ActivatedManaAbilityImpl;
import mage.cards.CardImpl;
import mage.constants.SuperType;
/**
*
* @author BetaSteward_at_googlemail.com
*/
public abstract class BasicLand extends CardImpl {
public BasicLand(UUID ownerId, CardSetInfo setInfo, ActivatedManaAbilityImpl mana) {
super(ownerId, setInfo, new CardType[]{CardType.LAND}, null);
this.supertype.add("Basic");
addSuperType(SuperType.BASIC);
this.subtype.add(name);
this.addAbility(mana);
}