Examples of FaintMessage


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

    if (trainer == 0 && m_participatingPokemon.contains(getParty(trainer)[idx])) {
      m_participatingPokemon.remove(getParty(trainer)[idx]);
    }
    if (m_player != null)
      TcpProtocolHandler.writeMessage(m_player.getTcpSession(),
          new FaintMessage(getParty(trainer)[idx].getSpeciesName()));
  }
View Full Code Here

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

  @Override
  public void informPokemonFainted(int trainer, int idx) {
    if(m_players != null) {
      TcpProtocolHandler.writeMessage(m_players[0].getTcpSession(),
          new FaintMessage(getParty(trainer)[idx].getSpeciesName()));
      TcpProtocolHandler.writeMessage(m_players[1].getTcpSession(),
          new FaintMessage(getParty(trainer)[idx].getSpeciesName()));
    }
  }
View Full Code Here

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

  @Override
  public void informPokemonFainted(int trainer, int idx) {
    if (m_player != null)
      TcpProtocolHandler.writeMessage(m_player.getTcpSession(),
          new FaintMessage(getParty(trainer)[idx].getSpeciesName()));
  }
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.