Package zombie.network.packets.vehicle
Class Physics
java.lang.Object
zombie.vehicles.VehicleInterpolationData
zombie.network.packets.vehicle.Physics
- All Implemented Interfaces:
Comparable
,INetworkPacket
-
Field Summary
Fields 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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
isRelevant
(UdpConnection udpConnection) void
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) void
process()
boolean
set
(BaseVehicle baseVehicle) void
write
(ByteBufferWriter byteBufferWriter) Methods inherited from class zombie.vehicles.VehicleInterpolationData
compareTo, setNumWheels
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface zombie.network.packets.INetworkPacket
getDescription, getPacketSizeBytes, log
-
Field Details
-
id
protected short id -
force
protected float force
-
-
Constructor Details
-
Physics
public Physics()
-
-
Method Details
-
parse
- Specified by:
parse
in interfaceINetworkPacket
-
write
- Specified by:
write
in interfaceINetworkPacket
-
set
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistent
in interfaceINetworkPacket
-
process
public void process() -
isRelevant
-