Examples of switchOut()


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

  public void switchOut() {
    ArrayList<StatusEffect> list = new ArrayList<StatusEffect>(m_statuses);
    Iterator<StatusEffect> i = list.iterator();
    while (i.hasNext()) {
      StatusEffect effect = i.next();
      if (effect.isActive() && effect.switchOut(this)) {
        unapplyEffect(effect, false);
        i.remove();
      }
    }
    m_statuses = list;
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.