Class PhysicsPacket
java.lang.Object
zombie.vehicles.VehicleInterpolationData
zombie.network.packets.vehicle.PhysicsPacket
- All Implemented Interfaces:
Comparable<VehicleInterpolationData>
,INetworkPacketField
,IDescriptor
-
Field Summary
FieldsFields inherited from class zombie.vehicles.VehicleInterpolationData
engineSpeed, qw, qx, qy, qz, throttle, time, vx, vy, vz, wheelRotation, wheelsCount, wheelSkidInfo, wheelSteering, wheelSuspensionLength, x, y, z
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isConsistent
(UdpConnection var1) boolean
isRelevant
(UdpConnection udpConnection) void
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) void
process
(UdpConnection udpConnection) boolean
set
(BaseVehicle baseVehicle) void
write
(ByteBufferWriter byteBufferWriter) Methods inherited from class zombie.vehicles.VehicleInterpolationData
compareTo, getPosition, getVelocity, setNumWheels
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.network.packets.IDescriptor
getClassDescription, getDescription, getDescription
Methods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes
-
Field Details
-
id
protected short id -
force
protected float force
-
-
Constructor Details
-
PhysicsPacket
public PhysicsPacket()
-
-
Method Details
-
parse
- Specified by:
parse
in interfaceINetworkPacketField
-
write
- Specified by:
write
in interfaceINetworkPacketField
-
set
-
isConsistent
- Specified by:
isConsistent
in interfaceINetworkPacketField
-
process
-
isRelevant
-