[refactoring][minor] Replaced all tabs with four spaces.

This commit is contained in:
North 2012-06-19 23:50:20 +03:00
parent e646e4768d
commit 239a4fb100
2891 changed files with 79411 additions and 79411 deletions

View file

@ -42,32 +42,32 @@ import mage.game.stack.Spell;
*/
public class CopyTargetSpellEffect extends OneShotEffect<CopyTargetSpellEffect> {
public CopyTargetSpellEffect() {
super(Outcome.Copy);
}
public CopyTargetSpellEffect(final CopyTargetSpellEffect effect) {
super(effect);
}
public CopyTargetSpellEffect() {
super(Outcome.Copy);
}
@Override
public boolean apply(Game game, Ability source) {
Spell spell = game.getStack().getSpell(targetPointer.getFirst(game, source));
if (spell != null) {
Spell copy = spell.copySpell();
copy.setControllerId(source.getControllerId());
copy.setCopiedSpell(true);
game.getStack().push(copy);
copy.chooseNewTargets(game, source.getControllerId());
return true;
}
return false;
}
public CopyTargetSpellEffect(final CopyTargetSpellEffect effect) {
super(effect);
}
@Override
public CopyTargetSpellEffect copy() {
return new CopyTargetSpellEffect(this);
}
@Override
public boolean apply(Game game, Ability source) {
Spell spell = game.getStack().getSpell(targetPointer.getFirst(game, source));
if (spell != null) {
Spell copy = spell.copySpell();
copy.setControllerId(source.getControllerId());
copy.setCopiedSpell(true);
game.getStack().push(copy);
copy.chooseNewTargets(game, source.getControllerId());
return true;
}
return false;
}
@Override
public CopyTargetSpellEffect copy() {
return new CopyTargetSpellEffect(this);
}
@Override
public String getText(Mode mode) {