convert from java code to groovy code

master
melvin 2013-03-14 13:24:09 +08:00
parent a1cca6c084
commit 0fb28adee8
2 changed files with 5 additions and 16 deletions

View File

@ -1,15 +1,5 @@
package magic.card;
import magic.data.TokenCardDefinitions;
import magic.model.MagicGame;
import magic.model.MagicPermanent;
import magic.model.MagicPlayer;
import magic.model.action.MagicPlayTokensAction;
import magic.model.event.MagicEvent;
import magic.model.trigger.MagicWhenDiesTrigger;
public class Symbiotic_Beast {
public static final MagicWhenDiesTrigger T = new MagicWhenDiesTrigger() {
[
new MagicWhenDiesTrigger() {
@Override
public MagicEvent getEvent(final MagicPermanent permanent) {
return new MagicEvent(
@ -18,7 +8,6 @@ public class Symbiotic_Beast {
"PN puts four 1/1 green Insect creature tokens onto the battlefield."
);
}
@Override
public void executeEvent(
final MagicGame game,
@ -30,5 +19,5 @@ public class Symbiotic_Beast {
4
));
}
};
}
}
]

View File

@ -8,4 +8,4 @@ subtype=Insect,Beast
cost={4}{G}{G}
pt=4/4
timing=main
requires_card_code
requires_groovy_code