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
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 TypeMethodDescriptionbooleanbooleanisRelevant(UdpConnection udpConnection) voidparse(ByteBuffer byteBuffer, UdpConnection udpConnection) voidprocess()booleanset(BaseVehicle baseVehicle) voidwrite(ByteBufferWriter byteBufferWriter) Methods inherited from class zombie.vehicles.VehicleInterpolationData
compareTo, setNumWheelsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods 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:
parsein interfaceINetworkPacket
-
write
- Specified by:
writein interfaceINetworkPacket
-
set
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistentin interfaceINetworkPacket
-
process
public void process() -
isRelevant
-