Package net.lightstone.msg

Examples of net.lightstone.msg.RotationMessage


  @Override
  public RotationMessage decode(ChannelBuffer buffer) throws IOException {
    float rotation = buffer.readFloat();
    float pitch = buffer.readFloat();
    boolean onGround = buffer.readByte() == 1;
    return new RotationMessage(rotation, pitch, onGround);
  }
View Full Code Here

TOP

Related Classes of net.lightstone.msg.RotationMessage

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.