[refactor] removed generic parameter from BasicLand

This commit is contained in:
North 2014-06-03 12:42:40 +03:00
parent 9324e93868
commit bb7de19d7b
6 changed files with 6 additions and 6 deletions

View file

@ -38,7 +38,7 @@ import mage.cards.CardImpl;
* *
* @author BetaSteward_at_googlemail.com * @author BetaSteward_at_googlemail.com
*/ */
public abstract class BasicLand<T extends BasicLand<T>> extends CardImpl { public abstract class BasicLand extends CardImpl {
public BasicLand(UUID ownerId, int cardNumber, String name, ManaAbility mana) { public BasicLand(UUID ownerId, int cardNumber, String name, ManaAbility mana) {
super(ownerId, cardNumber, name, Rarity.LAND, new CardType[]{CardType.LAND}, null); super(ownerId, cardNumber, name, Rarity.LAND, new CardType[]{CardType.LAND}, null);

View file

@ -35,7 +35,7 @@ import mage.abilities.mana.GreenManaAbility;
* *
* @author BetaSteward_at_googlemail.com * @author BetaSteward_at_googlemail.com
*/ */
public abstract class Forest extends BasicLand<Forest> { public abstract class Forest extends BasicLand {
public Forest(UUID ownerId, int cardNumber) { public Forest(UUID ownerId, int cardNumber) {
super(ownerId, cardNumber, "Forest", new GreenManaAbility()); super(ownerId, cardNumber, "Forest", new GreenManaAbility());

View file

@ -35,7 +35,7 @@ import mage.abilities.mana.BlueManaAbility;
* *
* @author BetaSteward_at_googlemail.com * @author BetaSteward_at_googlemail.com
*/ */
public abstract class Island extends BasicLand<Island> { public abstract class Island extends BasicLand {
public Island(UUID ownerId, int cardNumber) { public Island(UUID ownerId, int cardNumber) {
super(ownerId, cardNumber, "Island", new BlueManaAbility()); super(ownerId, cardNumber, "Island", new BlueManaAbility());

View file

@ -35,7 +35,7 @@ import mage.abilities.mana.RedManaAbility;
* *
* @author BetaSteward_at_googlemail.com * @author BetaSteward_at_googlemail.com
*/ */
public abstract class Mountain extends BasicLand<Mountain> { public abstract class Mountain extends BasicLand {
public Mountain(UUID ownerId, int cardNumber) { public Mountain(UUID ownerId, int cardNumber) {
super(ownerId, cardNumber, "Mountain", new RedManaAbility()); super(ownerId, cardNumber, "Mountain", new RedManaAbility());

View file

@ -35,7 +35,7 @@ import mage.abilities.mana.WhiteManaAbility;
* *
* @author BetaSteward_at_googlemail.com * @author BetaSteward_at_googlemail.com
*/ */
public abstract class Plains extends BasicLand<Plains> { public abstract class Plains extends BasicLand {
public Plains(UUID ownerId, int cardNumber) { public Plains(UUID ownerId, int cardNumber) {
super(ownerId, cardNumber, "Plains", new WhiteManaAbility()); super(ownerId, cardNumber, "Plains", new WhiteManaAbility());

View file

@ -35,7 +35,7 @@ import mage.abilities.mana.BlackManaAbility;
* *
* @author BetaSteward_at_googlemail.com * @author BetaSteward_at_googlemail.com
*/ */
public abstract class Swamp extends BasicLand<Swamp> { public abstract class Swamp extends BasicLand {
public Swamp(UUID ownerId, int cardNumber) { public Swamp(UUID ownerId, int cardNumber) {
super(ownerId, cardNumber, "Swamp", new BlackManaAbility()); super(ownerId, cardNumber, "Swamp", new BlackManaAbility());