Package org.spout.vanilla.protocol.msg.entity

Examples of org.spout.vanilla.protocol.msg.entity.SteerVehicleMessage


  public SteerVehicleMessage decode(ByteBuf buffer) throws IOException {
    float sideways = buffer.readFloat();
    float forward = buffer.readFloat();
    boolean jump = buffer.readByte() != 0;
    boolean unmount = buffer.readByte() != 0;
    return new SteerVehicleMessage(sideways, forward, jump, unmount);
  }
View Full Code Here

TOP

Related Classes of org.spout.vanilla.protocol.msg.entity.SteerVehicleMessage

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.