Package org.jpokemon.activity

Examples of org.jpokemon.activity.SelectMoveFromPokemonActivity


  }

  @Override
  public void onAdd(Player player) throws ServiceException {
    slotId = player.id();
    PlayerManager.addActivity(player, new SelectMoveFromPokemonActivity(player.party().get(0)));
  }
View Full Code Here


  }

  @Override
  public void onReturn(Activity activity, Player player) {
    if (activity instanceof SelectMoveFromPokemonActivity) {
      SelectMoveFromPokemonActivity smflpa = (SelectMoveFromPokemonActivity) activity;

      moveIndex = smflpa.getMoveIndex();

      if (battle.getTrainerCount() == 2) {
        for (Slot slot : battle) {
          if (slot.trainer().id().equals(player.id())) {
            continue;
View Full Code Here

TOP

Related Classes of org.jpokemon.activity.SelectMoveFromPokemonActivity

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.