Package org.pokenet.server.battle.mechanics.clauses

Examples of org.pokenet.server.battle.mechanics.clauses.Clause


     });
     Iterator<FieldEffect> i = m_effects.iterator();
     while (i.hasNext()) {
       StatusEffect eff = (StatusEffect)i.next();
       if (eff instanceof Clause) {
         Clause clause = (Clause)eff;
         if (!clause.isTeamValid(this, team, idx)) {
           throw new ValidationException("The team violates "
               + clause.getClauseName() + ".");
         }
       }
     }
   }
View Full Code Here

TOP

Related Classes of org.pokenet.server.battle.mechanics.clauses.Clause

Copyright © 2018 www.massapicom. 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.