mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
[refactor] removed generic parameter from BasicLand
This commit is contained in:
parent
9324e93868
commit
bb7de19d7b
6 changed files with 6 additions and 6 deletions
|
@ -38,7 +38,7 @@ import mage.cards.CardImpl;
|
|||
*
|
||||
* @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) {
|
||||
super(ownerId, cardNumber, name, Rarity.LAND, new CardType[]{CardType.LAND}, null);
|
||||
|
|
|
@ -35,7 +35,7 @@ import mage.abilities.mana.GreenManaAbility;
|
|||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public abstract class Forest extends BasicLand<Forest> {
|
||||
public abstract class Forest extends BasicLand {
|
||||
|
||||
public Forest(UUID ownerId, int cardNumber) {
|
||||
super(ownerId, cardNumber, "Forest", new GreenManaAbility());
|
||||
|
|
|
@ -35,7 +35,7 @@ import mage.abilities.mana.BlueManaAbility;
|
|||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public abstract class Island extends BasicLand<Island> {
|
||||
public abstract class Island extends BasicLand {
|
||||
|
||||
public Island(UUID ownerId, int cardNumber) {
|
||||
super(ownerId, cardNumber, "Island", new BlueManaAbility());
|
||||
|
|
|
@ -35,7 +35,7 @@ import mage.abilities.mana.RedManaAbility;
|
|||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public abstract class Mountain extends BasicLand<Mountain> {
|
||||
public abstract class Mountain extends BasicLand {
|
||||
|
||||
public Mountain(UUID ownerId, int cardNumber) {
|
||||
super(ownerId, cardNumber, "Mountain", new RedManaAbility());
|
||||
|
|
|
@ -35,7 +35,7 @@ import mage.abilities.mana.WhiteManaAbility;
|
|||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public abstract class Plains extends BasicLand<Plains> {
|
||||
public abstract class Plains extends BasicLand {
|
||||
|
||||
public Plains(UUID ownerId, int cardNumber) {
|
||||
super(ownerId, cardNumber, "Plains", new WhiteManaAbility());
|
||||
|
|
|
@ -35,7 +35,7 @@ import mage.abilities.mana.BlackManaAbility;
|
|||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public abstract class Swamp extends BasicLand<Swamp> {
|
||||
public abstract class Swamp extends BasicLand {
|
||||
|
||||
public Swamp(UUID ownerId, int cardNumber) {
|
||||
super(ownerId, cardNumber, "Swamp", new BlackManaAbility());
|
||||
|
|
Loading…
Reference in a new issue