Class VehicleInterpolation
java.lang.Object
zombie.vehicles.VehicleInterpolation
Created by kroto on 1/17/2017.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidinterpolationDataAdd(BaseVehicle vehicle, VehicleInterpolationData data, long currentTime) booleaninterpolationDataGet(float[] buf1, float[] buf2) booleaninterpolationDataGet(float[] buf1, float[] buf2, long time) booleanvoidreset()voidsetDelayLength(float d) voidupdate(long time)
-
Method Details
-
reset
public void reset() -
clear
public void clear() -
update
public void update(long time) -
interpolationDataAdd
public void interpolationDataAdd(BaseVehicle vehicle, VehicleInterpolationData data, long currentTime) -
interpolationDataGet
public boolean interpolationDataGet(float[] buf1, float[] buf2) -
getLastAddedInterpolationPoint
-
setDelayLength
public void setDelayLength(float d) -
isDelayLengthIncreased
public boolean isDelayLengthIncreased() -
interpolationDataGet
public boolean interpolationDataGet(float[] buf1, float[] buf2, long time)
-