Examples of BuildSwapTurnActivity


Examples of org.jpokemon.battle.activity.BuildSwapTurnActivity

        }
        else if ("item".equals(turn)) {

        }
        else if ("swap".equals(turn)) {
          PlayerManager.addActivity(player, new BuildSwapTurnActivity(this));
        }
        else if ("run".equals(turn)) {
          PlayerManager.addActivity(player, new BuildRunTurnActivity(this));
        }
      }
View Full Code Here

Examples of org.jpokemon.battle.activity.BuildSwapTurnActivity

    for (Slot slot : this) {
      if (!slot.leader().awake()) {
        if (slot.party().awake() > 0) {
          if (slot.trainer() instanceof Player) {
            log(slot.trainer().id() + " must swap on the next turn");
            PlayerManager.addActivity((Player) slot.trainer(), new BuildSwapTurnActivity(this));
          }
          else {
            addTurn(SwapTurn.autoSwapTurn(this, slot));
          }
        }
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.