camelCase refactoring (fixes previous comit)

This commit is contained in:
North 2011-07-15 00:42:49 +03:00
parent 70aefceb03
commit 70128015b7
47 changed files with 21 additions and 29 deletions

View file

@ -72,7 +72,7 @@ public class AuraOfDominion extends CardImpl<AuraOfDominion> {
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Constants.Outcome.Untap));
this.addAbility(new EnchantAbility(auraTarget.getTargetName()));
Ability ability = new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new AuraofDominionEffect(), new GenericManaCost(1));
Ability ability = new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new AuraOfDominionEffect(), new GenericManaCost(1));
ability.addCost(new TapTargetCost(new TargetControlledCreaturePermanent(1, 1, filter, false)));
this.addAbility(ability);
}
@ -88,12 +88,12 @@ public class AuraOfDominion extends CardImpl<AuraOfDominion> {
}
class AuraofDominionEffect extends OneShotEffect<AuraofDominionEffect> {
AuraofDominionEffect() {
class AuraOfDominionEffect extends OneShotEffect<AuraOfDominionEffect> {
AuraOfDominionEffect() {
super(Constants.Outcome.Untap);
}
AuraofDominionEffect(final AuraofDominionEffect effect) {
AuraOfDominionEffect(final AuraOfDominionEffect effect) {
super(effect);
}
@ -111,8 +111,8 @@ class AuraofDominionEffect extends OneShotEffect<AuraofDominionEffect> {
}
@Override
public AuraofDominionEffect copy() {
return new AuraofDominionEffect(this);
public AuraOfDominionEffect copy() {
return new AuraOfDominionEffect(this);
}
@Override

View file

@ -68,7 +68,7 @@ public class MelokuTheCloudedMirror extends CardImpl<MelokuTheCloudedMirror> {
this.power = new MageInt(2);
this.toughness = new MageInt(4);
this.addAbility(FlyingAbility.getInstance());
Ability ability = new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new CreateTokenEffect(new MelokutheCloudedMirrorToken(), 1), new GenericManaCost(1));
Ability ability = new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new CreateTokenEffect(new MelokuTheCloudedMirrorToken(), 1), new GenericManaCost(1));
ability.addCost(new ReturnToHandTargetCost(new TargetControlledPermanent(filter)));
this.addAbility(ability);
}
@ -84,8 +84,8 @@ public class MelokuTheCloudedMirror extends CardImpl<MelokuTheCloudedMirror> {
}
class MelokutheCloudedMirrorToken extends Token {
MelokutheCloudedMirrorToken() {
class MelokuTheCloudedMirrorToken extends Token {
MelokuTheCloudedMirrorToken() {
super("", "a 1/1 blue Illusion creature token with flying");
cardType.add(CardType.CREATURE);
color.setBlue(true);

View file

@ -50,7 +50,7 @@ public class PartTheVeil extends CardImpl<PartTheVeil> {
this.expansionSetCode = "CHK";
this.subtype.add("Arcane");
this.color.setBlue(true);
this.getSpellAbility().addEffect(new ParttheVeilEffect());
this.getSpellAbility().addEffect(new PartTheVeilEffect());
}
public PartTheVeil(final PartTheVeil card) {
@ -64,12 +64,12 @@ public class PartTheVeil extends CardImpl<PartTheVeil> {
}
class ParttheVeilEffect extends OneShotEffect<ParttheVeilEffect> {
public ParttheVeilEffect() {
class PartTheVeilEffect extends OneShotEffect<PartTheVeilEffect> {
public PartTheVeilEffect() {
super(Constants.Outcome.ReturnToHand);
}
public ParttheVeilEffect(final ParttheVeilEffect effect) {
public PartTheVeilEffect(final PartTheVeilEffect effect) {
super(effect);
}
@ -82,8 +82,8 @@ class ParttheVeilEffect extends OneShotEffect<ParttheVeilEffect> {
}
@Override
public ParttheVeilEffect copy() {
return new ParttheVeilEffect(this);
public PartTheVeilEffect copy() {
return new PartTheVeilEffect(this);
}
@Override

View file

@ -41,9 +41,7 @@ import mage.abilities.costs.common.TapSourceCost;
import mage.abilities.effects.common.ManaEffect;
import mage.abilities.effects.common.continious.BoostControlledEffect;
import mage.abilities.effects.common.continious.GainAbilityControlledEffect;
import mage.abilities.keyword.FlyingAbility;
import mage.cards.CardImpl;
import mage.filter.common.FilterControlledCreaturePermanent;
import mage.filter.common.FilterCreaturePermanent;
/**

View file

@ -36,10 +36,7 @@ import mage.Constants.Rarity;
import mage.MageInt;
import mage.abilities.TriggeredAbilityImpl;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.effects.Effect;
import mage.abilities.effects.common.DiscardTargetEffect;
import mage.abilities.effects.common.DrawCardControllerEffect;
import mage.abilities.effects.common.UntapAllLandsControllerEffect;
import mage.abilities.effects.common.continious.BoostControlledEffect;
import mage.cards.CardImpl;
import mage.filter.common.FilterCreaturePermanent;
@ -47,7 +44,6 @@ import mage.game.Game;
import mage.game.events.DamagedPlayerEvent;
import mage.game.events.GameEvent;
import mage.game.permanent.Permanent;
import mage.target.targetpointer.FixedTarget;
/**
* @author Loki
@ -70,7 +66,7 @@ public class SeshiroTheAnointed extends CardImpl<SeshiroTheAnointed> {
this.power = new MageInt(3);
this.toughness = new MageInt(4);
this.addAbility(new SimpleStaticAbility(Constants.Zone.BATTLEFIELD, new BoostControlledEffect(2, 2, Constants.Duration.WhileOnBattlefield, filter, true)));
this.addAbility(new SeshirotheAnointedAbility());
this.addAbility(new SeshiroTheAnointedAbility());
}
public SeshiroTheAnointed(final SeshiroTheAnointed card) {
@ -84,19 +80,19 @@ public class SeshiroTheAnointed extends CardImpl<SeshiroTheAnointed> {
}
class SeshirotheAnointedAbility extends TriggeredAbilityImpl<SeshirotheAnointedAbility> {
class SeshiroTheAnointedAbility extends TriggeredAbilityImpl<SeshiroTheAnointedAbility> {
public SeshirotheAnointedAbility() {
public SeshiroTheAnointedAbility() {
super(Constants.Zone.BATTLEFIELD, new DrawCardControllerEffect(1), true);
}
public SeshirotheAnointedAbility(final SeshirotheAnointedAbility ability) {
public SeshiroTheAnointedAbility(final SeshiroTheAnointedAbility ability) {
super(ability);
}
@Override
public SeshirotheAnointedAbility copy() {
return new SeshirotheAnointedAbility(this);
public SeshiroTheAnointedAbility copy() {
return new SeshiroTheAnointedAbility(this);
}
@Override

View file

@ -35,14 +35,12 @@ import mage.Constants.Rarity;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SpellCastTriggeredAbility;
import mage.abilities.effects.common.DamageTargetEffect;
import mage.abilities.effects.common.GainLifeEffect;
import mage.abilities.effects.common.LoseLifeTargetEffect;
import mage.abilities.keyword.SoulshiftAbility;
import mage.cards.CardImpl;
import mage.filter.Filter;
import mage.filter.FilterCard;
import mage.target.common.TargetCreatureOrPlayer;
import mage.target.common.TargetOpponent;
/**