removed empty lines
parent
c17cbaae32
commit
47c9d72a91
|
@ -12,20 +12,17 @@ public class MagicAddTurnTriggerAction extends MagicAction {
|
||||||
private MagicPermanentTrigger permanentTrigger;
|
private MagicPermanentTrigger permanentTrigger;
|
||||||
|
|
||||||
public MagicAddTurnTriggerAction(final MagicPermanent permanent,final MagicTrigger trigger) {
|
public MagicAddTurnTriggerAction(final MagicPermanent permanent,final MagicTrigger trigger) {
|
||||||
|
|
||||||
this.permanent=permanent;
|
this.permanent=permanent;
|
||||||
this.trigger=trigger;
|
this.trigger=trigger;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doAction(final MagicGame game) {
|
public void doAction(final MagicGame game) {
|
||||||
|
|
||||||
permanentTrigger=game.addTurnTrigger(permanent,trigger);
|
permanentTrigger=game.addTurnTrigger(permanent,trigger);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void undoAction(final MagicGame game) {
|
public void undoAction(final MagicGame game) {
|
||||||
|
|
||||||
game.removeTurnTrigger(permanentTrigger);
|
game.removeTurnTrigger(permanentTrigger);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue