Package org.pokenet.server.network.message.battle

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


  @Override
  public void showMessage(String message) {
    if (m_finished) return;
    if (m_player != null)
      TcpProtocolHandler.writeMessage(m_player.getTcpSession(),
          new BattleMessage(message));
  }
View Full Code Here


    if(m_finished)
      return;
    if(m_players != null) {
      if(m_players[0] != null)
        TcpProtocolHandler.writeMessage(m_players[0].getTcpSession(),
          new BattleMessage(message));
      if(m_players[1] != null)
        TcpProtocolHandler.writeMessage(m_players[1].getTcpSession(),
          new BattleMessage(message));
    }
  }
View Full Code Here

  public void showMessage(String message) {
    if(m_finished)
      return;
    if(m_player != null)
      TcpProtocolHandler.writeMessage(m_player.getTcpSession(),
        new BattleMessage(message));
  }
View Full Code Here

TOP

Related Classes of org.pokenet.server.network.message.battle.BattleMessage

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.