Class VehicleInterpolation
java.lang.Object
zombie.vehicles.VehicleInterpolation
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidclearAll()voidvoidinterpolationDataAdd(BaseVehicle vehicle, VehicleInterpolationData data, long currentTime) booleaninterpolationDataGet(float[] buf1, float[] buf2) booleaninterpolationDataGet(float[] buf1, float[] buf2, long time, VehicleInterpolation towedByInterpolation) booleaninterpolationDataGet(float[] buf1, float[] buf2, VehicleInterpolation towedByInterpolation) booleanvoidreset()voidsetDelayLength(float d) voidupdate(long time)
-
Method Details
-
reset
public void reset() -
clear
public void clear() -
clearLast
public void clearLast() -
clearAll
public void clearAll() -
update
public void update(long time) -
interpolationDataAdd
public void interpolationDataAdd(BaseVehicle vehicle, VehicleInterpolationData data, long currentTime) -
interpolationDataGet
public boolean interpolationDataGet(float[] buf1, float[] buf2) -
interpolationDataGet
public boolean interpolationDataGet(float[] buf1, float[] buf2, VehicleInterpolation towedByInterpolation) -
getLastAddedInterpolationPoint
-
setDelayLength
public void setDelayLength(float d) -
isDelayLengthIncreased
public boolean isDelayLengthIncreased() -
interpolationDataGet
public boolean interpolationDataGet(float[] buf1, float[] buf2, long time, VehicleInterpolation towedByInterpolation)
-