[ new MagicLandfallTrigger() { @Override protected MagicEvent getEvent(final MagicPermanent permanent) { return new MagicEvent( permanent, new MagicSimpleMayChoice( MagicSimpleMayChoice.PLAY_TOKEN, 1, MagicSimpleMayChoice.DEFAULT_YES ), this, "PN may\$ put a 1/1 white Bird creature " + "token with flying onto the battlefield." ); } @Override public void executeEvent( final MagicGame game, final MagicEvent event) { if (event.isYes()) { game.doAction(new MagicPlayTokenAction( event.getPlayer(), TokenCardDefinitions.get("Bird1") )); } } } ]