[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

@ -45,32 +45,32 @@ public class UntapAllControllerEffect extends OneShotEffect<UntapAllControllerEf
private FilterPermanent filter;
public UntapAllControllerEffect(FilterPermanent filter, String rule) {
super(Outcome.Untap);
staticText = rule;
public UntapAllControllerEffect(FilterPermanent filter, String rule) {
super(Outcome.Untap);
staticText = rule;
this.filter = filter;
}
}
public UntapAllControllerEffect(final UntapAllControllerEffect effect) {
super(effect);
public UntapAllControllerEffect(final UntapAllControllerEffect effect) {
super(effect);
this.filter = effect.filter;
}
}
@Override
public boolean apply(Game game, Ability source) {
Player player = game.getPlayer(source.getControllerId());
if (player != null) {
for (Permanent land: game.getBattlefield().getAllActivePermanents(filter, player.getId(), game)) {
land.untap(game);
}
return true;
}
return false;
}
@Override
public boolean apply(Game game, Ability source) {
Player player = game.getPlayer(source.getControllerId());
if (player != null) {
for (Permanent land: game.getBattlefield().getAllActivePermanents(filter, player.getId(), game)) {
land.untap(game);
}
return true;
}
return false;
}
@Override
public UntapAllControllerEffect copy() {
return new UntapAllControllerEffect(this);
}
@Override
public UntapAllControllerEffect copy() {
return new UntapAllControllerEffect(this);
}
}