[refactor] removed generic parmaeter from LevelerCard

This commit is contained in:
North 2014-06-02 21:17:27 +03:00
parent 14fa5b0f57
commit c925b649b3
22 changed files with 22 additions and 23 deletions

View file

@ -45,7 +45,7 @@ import java.util.UUID;
*
* @author North, noxx
*/
public class BeastbreakerOfBalaGed extends LevelerCard<BeastbreakerOfBalaGed> {
public class BeastbreakerOfBalaGed extends LevelerCard {
public BeastbreakerOfBalaGed(UUID ownerId) {
super(ownerId, 178, "Beastbreaker of Bala Ged", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{1}{G}");

View file

@ -50,7 +50,7 @@ import java.util.UUID;
*
* @author Loki, noxx
*/
public class BrimstoneMage extends LevelerCard<BrimstoneMage> {
public class BrimstoneMage extends LevelerCard {
public BrimstoneMage (UUID ownerId) {
super(ownerId, 137, "Brimstone Mage", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{2}{R}");

View file

@ -44,7 +44,7 @@ import java.util.UUID;
*
* @author North
*/
public class CaravanEscort extends LevelerCard<CaravanEscort> {
public class CaravanEscort extends LevelerCard {
public CaravanEscort(UUID ownerId) {
super(ownerId, 15, "Caravan Escort", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{W}");

View file

@ -51,7 +51,7 @@ import java.util.UUID;
*
* @author North
*/
public class CoralhelmCommander extends LevelerCard<CoralhelmCommander> {
public class CoralhelmCommander extends LevelerCard {
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("Merfolk creatures");

View file

@ -50,7 +50,7 @@ import java.util.UUID;
*
* @author BetaSteward_at_googlemail.com, noxx
*/
public class EnclaveCryptologist extends LevelerCard<EnclaveCryptologist> {
public class EnclaveCryptologist extends LevelerCard {
public EnclaveCryptologist (UUID ownerId) {
super(ownerId, 66, "Enclave Cryptologist", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{U}");

View file

@ -51,7 +51,7 @@ import java.util.UUID;
*
* @author Loki, noxx
*/
public class GuulDrazAssassin extends LevelerCard<GuulDrazAssassin> {
public class GuulDrazAssassin extends LevelerCard {
public GuulDrazAssassin (UUID ownerId) {
super(ownerId, 112, "Guul Draz Assassin", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{B}");

View file

@ -46,7 +46,7 @@ import java.util.UUID;
*
* @author North, noxx
*/
public class HadaSpyPatrol extends LevelerCard<HadaSpyPatrol> {
public class HadaSpyPatrol extends LevelerCard {
public HadaSpyPatrol(UUID ownerId) {
super(ownerId, 71, "Hada Spy Patrol", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{1}{U}");

View file

@ -45,7 +45,7 @@ import java.util.UUID;
*
* @author North, noxx
*/
public class HalimarWavewatch extends LevelerCard<HalimarWavewatch> {
public class HalimarWavewatch extends LevelerCard {
public HalimarWavewatch(UUID ownerId) {
super(ownerId, 72, "Halimar Wavewatch", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{1}{U}");

View file

@ -46,7 +46,7 @@ import java.util.UUID;
*
* @author Loki, noxx
*/
public class IkiralOutrider extends LevelerCard<IkiralOutrider> {
public class IkiralOutrider extends LevelerCard {
public IkiralOutrider (UUID ownerId) {
super(ownerId, 27, "Ikiral Outrider", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{1}{W}");

View file

@ -55,7 +55,7 @@ import mage.filter.predicate.mageobject.SubtypePredicate;
*
* @author BetaSteward_at_googlemail.com, noxx
*/
public class JoragaTreespeaker extends LevelerCard<JoragaTreespeaker> {
public class JoragaTreespeaker extends LevelerCard {
private static final FilterControlledCreaturePermanent filter = new FilterControlledCreaturePermanent("Elves");

View file

@ -49,7 +49,7 @@ import java.util.UUID;
*
* @author North, noxx
*/
public class KabiraVindicator extends LevelerCard<KabiraVindicator> {
public class KabiraVindicator extends LevelerCard {
public KabiraVindicator(UUID ownerId) {
super(ownerId, 28, "Kabira Vindicator", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{3}{W}");

View file

@ -51,7 +51,7 @@ import java.util.UUID;
*
* @author BetaSteward_at_googlemail.com, noxx
*/
public class KarganDragonlord extends LevelerCard<KarganDragonlord> {
public class KarganDragonlord extends LevelerCard {
public KarganDragonlord(UUID ownerId) {
super(ownerId, 152, "Kargan Dragonlord", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{R}{R}");

View file

@ -48,7 +48,7 @@ import java.util.UUID;
/**
* @author North, noxx
*/
public class KazanduTuskcaller extends LevelerCard<KazanduTuskcaller> {
public class KazanduTuskcaller extends LevelerCard {
public KazanduTuskcaller(UUID ownerId) {
super(ownerId, 191, "Kazandu Tuskcaller", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{1}{G}");

View file

@ -46,7 +46,7 @@ import java.util.UUID;
*
* @author North, noxx
*/
public class KnightOfCliffhaven extends LevelerCard<KnightOfCliffhaven> {
public class KnightOfCliffhaven extends LevelerCard {
public KnightOfCliffhaven(UUID ownerId) {
super(ownerId, 29, "Knight of Cliffhaven", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{1}{W}");

View file

@ -52,7 +52,7 @@ import java.util.UUID;
*
* @author BetaSteward_at_googlemail.com, noxx
*/
public class LighthouseChronologist extends LevelerCard<LighthouseChronologist> {
public class LighthouseChronologist extends LevelerCard {
public LighthouseChronologist (UUID ownerId) {
super(ownerId, 75, "Lighthouse Chronologist", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{1}{U}");

View file

@ -47,7 +47,7 @@ import java.util.UUID;
*
* @author Loki, noxx
*/
public class NirkanaCutthroat extends LevelerCard<NirkanaCutthroat> {
public class NirkanaCutthroat extends LevelerCard {
public NirkanaCutthroat (UUID ownerId) {
super(ownerId, 119, "Nirkana Cutthroat", Rarity.UNCOMMON, new CardType[]{CardType.CREATURE}, "{2}{B}");

View file

@ -48,7 +48,7 @@ import java.util.UUID;
*
* @author Loki, noxx
*/
public class NullChampion extends LevelerCard<NullChampion> {
public class NullChampion extends LevelerCard {
public NullChampion (UUID ownerId) {
super(ownerId, 121, "Null Champion", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{1}{B}");

View file

@ -45,7 +45,7 @@ import java.util.UUID;
*
* @author North, noxx
*/
public class SkywatcherAdept extends LevelerCard<SkywatcherAdept> {
public class SkywatcherAdept extends LevelerCard {
public SkywatcherAdept(UUID ownerId) {
super(ownerId, 88, "Skywatcher Adept", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{U}");

View file

@ -47,7 +47,7 @@ import java.util.UUID;
*
* @author Loki, noxx
*/
public class StudentOfWarfare extends LevelerCard<StudentOfWarfare> {
public class StudentOfWarfare extends LevelerCard {
public StudentOfWarfare (UUID ownerId) {
super(ownerId, 47, "Student of Warfare", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{W}");

View file

@ -42,7 +42,7 @@ import java.util.UUID;
/**
* @author North, noxx
*/
public class TranscendentMaster extends LevelerCard<TranscendentMaster> {
public class TranscendentMaster extends LevelerCard {
public TranscendentMaster(UUID ownerId) {
super(ownerId, 51, "Transcendent Master", Rarity.MYTHIC, new CardType[]{CardType.CREATURE}, "{1}{W}{W}");

View file

@ -49,7 +49,7 @@ import java.util.UUID;
*
* @author North, noxx
*/
public class ZulaportEnforcer extends LevelerCard<ZulaportEnforcer> {
public class ZulaportEnforcer extends LevelerCard {
public ZulaportEnforcer(UUID ownerId) {
super(ownerId, 133, "Zulaport Enforcer", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{B}");

View file

@ -35,9 +35,8 @@ import mage.constants.Rarity;
/**
*
* @author BetaSteward_at_googlemail.com
* @param <T>
*/
public abstract class LevelerCard<T extends LevelerCard<T>> extends CardImpl {
public abstract class LevelerCard extends CardImpl {
private int maxLevelCounters;