Examples of canSwitch()


Examples of org.pokenet.server.battle.mechanics.statuses.StatusEffect.canSwitch()

  public boolean canSwitch() {
    synchronized (m_statuses) {
      Iterator<StatusEffect> i = m_statuses.iterator();
      while (i.hasNext()) {
        StatusEffect effect = i.next();
        if (effect.isActive() && !effect.canSwitch(this)) { return false; }
      }
    }
    return true;
  }
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.