Class VehicleInterpolation
java.lang.Object
zombie.vehicles.VehicleInterpolation
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidinterpolationDataAdd(ByteBuffer bb, long time, float x, float y, float z, long currentTime) voidinterpolationDataAdd(BaseVehicle vehicle, VehicleInterpolationData data) booleaninterpolationDataGet(float[] floats0, float[] floats1) booleaninterpolationDataGet(float[] floats1, float[] floats0, long long0) booleanvoidreset()voidsetDelayLength(float float0) voidupdate(long time)
-
Method Details
-
reset
public void reset() -
clear
public void clear() -
update
public void update(long time) -
interpolationDataAdd
-
interpolationDataAdd
public void interpolationDataAdd(ByteBuffer bb, long time, float x, float y, float z, long currentTime) -
interpolationDataGet
public boolean interpolationDataGet(float[] floats0, float[] floats1) -
getLastAddedInterpolationPoint
-
setDelayLength
public void setDelayLength(float float0) -
isDelayLengthIncreased
public boolean isDelayLengthIncreased() -
interpolationDataGet
public boolean interpolationDataGet(float[] floats1, float[] floats0, long long0)
-