[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

@ -40,29 +40,29 @@ import mage.players.Player;
*/
public class DrawDiscardControllerEffect extends OneShotEffect<DrawDiscardControllerEffect> {
public DrawDiscardControllerEffect() {
super(Outcome.DrawCard);
staticText = "Draw a card, then discard a card";
}
public DrawDiscardControllerEffect() {
super(Outcome.DrawCard);
staticText = "Draw a card, then discard a card";
}
public DrawDiscardControllerEffect(final DrawDiscardControllerEffect effect) {
super(effect);
}
public DrawDiscardControllerEffect(final DrawDiscardControllerEffect effect) {
super(effect);
}
@Override
public DrawDiscardControllerEffect copy() {
return new DrawDiscardControllerEffect(this);
}
@Override
public DrawDiscardControllerEffect copy() {
return new DrawDiscardControllerEffect(this);
}
@Override
public boolean apply(Game game, Ability source) {
Player player = game.getPlayer(source.getControllerId());
if (player != null) {
player.drawCards(1, game);
player.discard(1, source, game);
return true;
}
return false;
}
@Override
public boolean apply(Game game, Ability source) {
Player player = game.getPlayer(source.getControllerId());
if (player != null) {
player.drawCards(1, game);
player.discard(1, source, game);
return true;
}
return false;
}
}