Package org.pokenet.server.network.message

Examples of org.pokenet.server.network.message.SpriteChangeMessage


   */
  public void setSprite(int sprite) {
    m_sprite = sprite;
    //Inform everyone of sprite change
    if(m_map != null)
      m_map.sendToAll(new SpriteChangeMessage(m_id, this.getSprite()));
  }
View Full Code Here


   * @param b
   */
  public void setSurfing(boolean b) {
    m_isSurfing = b;
    if(m_map != null)
      m_map.sendToAll(new SpriteChangeMessage(m_id, this.getSprite()));
  }
View Full Code Here

  /**
   * Updates the client with their sprite
   */
  public void updateClientSprite() {
    TcpProtocolHandler.writeMessage(m_tcpSession, new SpriteChangeMessage(m_id, m_sprite));
  }
View Full Code Here

TOP

Related Classes of org.pokenet.server.network.message.SpriteChangeMessage

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.