forked from External/mage
Remove unused marker interface (#10404)
This commit is contained in:
parent
8b91600cbf
commit
255c7a9ce7
15 changed files with 15 additions and 28 deletions
|
|
@ -6,7 +6,6 @@ import mage.abilities.DelayedTriggeredAbility;
|
|||
import mage.abilities.effects.ContinuousEffectImpl;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.abilities.effects.common.SacrificeTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.SourceEffect;
|
||||
import mage.abilities.keyword.EnchantAbility;
|
||||
import mage.cards.Card;
|
||||
import mage.constants.*;
|
||||
|
|
@ -63,7 +62,7 @@ public class AnimateDeadTriggeredAbility extends EntersBattlefieldTriggeredAbili
|
|||
}
|
||||
}
|
||||
|
||||
class AnimateDeadReplaceAbilityEffect extends ContinuousEffectImpl implements SourceEffect {
|
||||
class AnimateDeadReplaceAbilityEffect extends ContinuousEffectImpl {
|
||||
|
||||
private final boolean becomesAura;
|
||||
private Ability newAbility;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import mage.target.Target;
|
|||
/**
|
||||
* @author LevelX2
|
||||
*/
|
||||
public class BecomesAuraSourceEffect extends ContinuousEffectImpl implements SourceEffect {
|
||||
public class BecomesAuraSourceEffect extends ContinuousEffectImpl {
|
||||
|
||||
private final Ability newAbility;
|
||||
private final Target target;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import mage.game.permanent.token.Token;
|
|||
/**
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public class BecomesCreatureSourceEffect extends ContinuousEffectImpl implements SourceEffect {
|
||||
public class BecomesCreatureSourceEffect extends ContinuousEffectImpl {
|
||||
|
||||
protected Token token;
|
||||
protected String theyAreStillType;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import mage.game.permanent.Permanent;
|
|||
/**
|
||||
* @author jeffwadsworth
|
||||
*/
|
||||
public class BecomesEnchantmentSourceEffect extends ContinuousEffectImpl implements SourceEffect {
|
||||
public class BecomesEnchantmentSourceEffect extends ContinuousEffectImpl {
|
||||
|
||||
public BecomesEnchantmentSourceEffect() {
|
||||
super(Duration.Custom, Layer.TypeChangingEffects_4, SubLayer.NA, Outcome.AddAbility);
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ import java.util.*;
|
|||
* @author LevelX2
|
||||
*/
|
||||
|
||||
public class BecomesFaceDownCreatureAllEffect extends ContinuousEffectImpl implements SourceEffect {
|
||||
public class BecomesFaceDownCreatureAllEffect extends ContinuousEffectImpl {
|
||||
|
||||
protected Map<UUID, Ability> turnFaceUpAbilityMap = new HashMap<>();
|
||||
protected FilterPermanent filter;
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ import java.util.List;
|
|||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
public class BecomesFaceDownCreatureEffect extends ContinuousEffectImpl implements SourceEffect {
|
||||
public class BecomesFaceDownCreatureEffect extends ContinuousEffectImpl {
|
||||
|
||||
public enum FaceDownType {
|
||||
MANIFESTED,
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ import org.apache.log4j.Logger;
|
|||
/**
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public class BoostSourceEffect extends ContinuousEffectImpl implements SourceEffect {
|
||||
public class BoostSourceEffect extends ContinuousEffectImpl {
|
||||
private DynamicValue power;
|
||||
private DynamicValue toughness;
|
||||
private final boolean lockedIn;
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import mage.game.permanent.Permanent;
|
|||
/**
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public class GainAbilitySourceEffect extends ContinuousEffectImpl implements SourceEffect {
|
||||
public class GainAbilitySourceEffect extends ContinuousEffectImpl {
|
||||
|
||||
protected Ability ability;
|
||||
// shall a card gain the ability (otherwise permanent)
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import mage.game.permanent.Permanent;
|
|||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public class GainClassAbilitySourceEffect extends ContinuousEffectImpl implements SourceEffect {
|
||||
public class GainClassAbilitySourceEffect extends ContinuousEffectImpl {
|
||||
|
||||
private final Ability ability;
|
||||
private final int level;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ import mage.game.Game;
|
|||
* @author LevelX2
|
||||
*/
|
||||
|
||||
public class GainSuspendEffect extends ContinuousEffectImpl implements SourceEffect {
|
||||
public class GainSuspendEffect extends ContinuousEffectImpl {
|
||||
|
||||
MageObjectReference mor;
|
||||
|
||||
|
|
@ -48,4 +48,4 @@ public class GainSuspendEffect extends ContinuousEffectImpl implements SourceEff
|
|||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import mage.util.CardUtil;
|
|||
/**
|
||||
* @author LevelX2
|
||||
*/
|
||||
public class LoseCreatureTypeSourceEffect extends ContinuousEffectImpl implements SourceEffect {
|
||||
public class LoseCreatureTypeSourceEffect extends ContinuousEffectImpl {
|
||||
|
||||
private final DynamicValue dynamicValue;
|
||||
private final int lessThan;
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
package mage.abilities.effects.common.continuous;
|
||||
|
||||
/**
|
||||
* Marker interface
|
||||
*
|
||||
* @author magenoxx_at_gmail.com
|
||||
*/
|
||||
public interface SourceEffect {
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue