remove redundant groovy code

master
melvin 2013-10-15 11:01:01 +08:00
parent 6ddba423b2
commit 479efb7ec7
1 changed files with 0 additions and 35 deletions

View File

@ -1,35 +0,0 @@
[
new MagicPermanentActivation(
new MagicActivationHints(MagicTiming.Removal),
"Exile"
) {
@Override
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
return [
new MagicPayManaCostTapEvent(source,"{4}"),
new MagicExileEvent(source)
];
}
@Override
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
return new MagicEvent(
source,
MagicTargetChoice.NEG_TARGET_CREATURE,
MagicExileTargetPicker.create(),
this,
"Exile target creature\$."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
event.processTargetPermanent(game,new MagicPermanentAction() {
public void doAction(final MagicPermanent creature) {
game.doAction(new MagicRemoveFromPlayAction(creature,MagicLocationType.Exile));
}
});
}
}
]