Examples of RotationMessage


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
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.