Examples of TokenPredicate


Examples of mage.filter.predicate.permanent.TokenPredicate

class MinionReflectorTriggeredAbility extends EntersBattlefieldAllTriggeredAbility {


    public MinionReflectorTriggeredAbility() {
        super(new MinionReflectorEffect(), new FilterControlledCreaturePermanent(), "Whenever a nontoken creature enters the battlefield under your control, you may pay {2}. If you do, put a token that's a copy of that creature onto the battlefield. That token has haste and \"At the beginning of the end step, sacrifice this permanent");
        filter.add(Predicates.not(new TokenPredicate()));
    }
View Full Code Here

Examples of org.rstudio.studio.client.workbench.views.source.editors.text.ace.spelling.TokenPredicate

      return defaultExtension_;
   }

   public TokenPredicate getTokenPredicate()
   {
      return new TokenPredicate()
      {
         @Override
         public boolean test(Token token, int row, int column)
         {
            return reTextType_.match(token.getType(), 0) != null
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.