Examples of RunMessage


Examples of org.pokenet.server.network.message.battle.RunMessage

  /**
   * Attempts to run from this battle
   */
  public void run() {
    if (canRun()) {
      TcpProtocolHandler.writeMessage(m_player.getTcpSession(), new RunMessage(
          true));
      m_player.setBattling(false);
      this.dispose();
    } else {
      TcpProtocolHandler.writeMessage(m_player.getTcpSession(), new RunMessage(
          false));
      if (m_turn[1] == null) this.getWildPokemonMove();
      try {
        this.queueMove(0, BattleTurn.getMoveTurn(-1));
      } catch (MoveQueueException e) {
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.