[ new MagicWhenComesIntoPlayTrigger() { @Override public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent, final MagicPayedCost payedCost) { return new MagicEvent( permanent, this, "Untap all creatures you control." ); } @Override public void executeEvent(final MagicGame game, final MagicEvent event) { final MagicPlayer player = event.getPlayer(); final Collection targets= game.filterPermanents(player,MagicTargetFilter.TARGET_CREATURE_YOU_CONTROL); for (final MagicPermanent target : targets) { game.doAction(new MagicUntapAction(target)); } } } ]