mirror of
https://github.com/magefree/mage.git
synced 2025-12-30 07:22:03 -08:00
[refactoring] removed generic from TargetCreaturePermanent
This commit is contained in:
parent
a4fba770c4
commit
dbc066c998
9 changed files with 13 additions and 16 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue