[refactoring] removed generic from TargetCreaturePermanent

This commit is contained in:
North 2014-05-24 22:39:46 +03:00
parent a4fba770c4
commit dbc066c998
9 changed files with 13 additions and 16 deletions

View file

@ -29,12 +29,13 @@
package mage.target.common;
import mage.filter.common.FilterAttackingCreature;
import mage.target.TargetPermanent;
/**
*
* @author BetaSteward_at_googlemail.com
*/
public class TargetAttackingCreature extends TargetCreaturePermanent<TargetAttackingCreature> {
public class TargetAttackingCreature extends TargetPermanent<TargetAttackingCreature> {
public TargetAttackingCreature() {
this(1, 1, new FilterAttackingCreature(), false);

View file

@ -29,12 +29,13 @@
package mage.target.common;
import mage.filter.common.FilterAttackingOrBlockingCreature;
import mage.target.TargetPermanent;
/**
*
* @author nantuko
*/
public class TargetAttackingOrBlockingCreature extends TargetCreaturePermanent<TargetAttackingOrBlockingCreature> {
public class TargetAttackingOrBlockingCreature extends TargetPermanent<TargetAttackingOrBlockingCreature> {
public TargetAttackingOrBlockingCreature() {
this(1, 1, new FilterAttackingOrBlockingCreature(), false);

View file

@ -35,7 +35,7 @@ import mage.target.TargetPermanent;
*
* @author BetaSteward_at_googlemail.com
*/
public class TargetCreaturePermanent<T extends TargetCreaturePermanent<T>> extends TargetPermanent<TargetCreaturePermanent<T>> {
public class TargetCreaturePermanent extends TargetPermanent<TargetCreaturePermanent> {
public TargetCreaturePermanent() {
this(1, 1, new FilterCreaturePermanent(), false);