setOccupiedDeceleration

public abstract void setOccupiedDeceleration(double rate)

Sets the deceleration rate (newSpeed = curSpeed * rate) of occupied boats. Setting this to getClassById higher value allows for quicker acceleration. The default is 0.2.

Parameters

rate

deceleration rate