Class VehicleInterpolationData
java.lang.Object
zombie.vehicles.VehicleInterpolationData
- All Implemented Interfaces:
Comparable<VehicleInterpolationData>, INetworkPacketField, IDescriptor
- Direct Known Subclasses:
VehiclePhysicsPacket
public class VehicleInterpolationData
extends Object
implements Comparable<VehicleInterpolationData>, INetworkPacketField
Created by kroto on 1/17/2017.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidgetPhysicsData(float[] physicsData) voidgetPosition(org.joml.Vector3f out) voidgetVelocity(org.joml.Vector3f out) voidparse(ByteBuffer b, UdpConnection connection) voidset(BaseVehicle vehicle) voidMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IDescriptor
getClassDescription, getDescription, getDescriptionMethods inherited from interface INetworkPacketField
getPacketSizeBytes, isConsistent
-
Constructor Details
-
VehicleInterpolationData
public VehicleInterpolationData()
-
-
Method Details
-
getPosition
public void getPosition(org.joml.Vector3f out) -
getVelocity
public void getVelocity(org.joml.Vector3f out) -
compareTo
- Specified by:
compareToin interfaceComparable<VehicleInterpolationData>
-
parse
- Specified by:
parsein interfaceINetworkPacketField
-
write
- Specified by:
writein interfaceINetworkPacketField
-
set
-
getPhysicsData
public void getPhysicsData(float[] physicsData)
-