Package org.jpokemon.battle.activity

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


    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

Related Classes of org.jpokemon.battle.activity.BuildSwapTurnActivity

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.