Class HeightLimit
java.lang.Object
nl.sbdeveloper.vehiclesplus.api.vehicles.settings.impl.HeightLimit
- All Implemented Interfaces:
 Setting
The min and max height settings.
- 
Constructor Summary
ConstructorsConstructorDescriptionHeightLimit(double minHeight, double maxHeight) Creates a newHeightLimitinstance. - 
Method Summary
Modifier and TypeMethodDescriptiondoubleThe maximal height this vehicle can move.doubleThe minimal height this vehicle can move.voidsetMaxHeight(double maxHeight) The maximal height this vehicle can move.voidsetMinHeight(double minHeight) The minimal height this vehicle can move.toString() 
- 
Constructor Details
- 
HeightLimit
public HeightLimit(double minHeight, double maxHeight) Creates a newHeightLimitinstance.- Parameters:
 minHeight- The minimal height this vehicle can move.maxHeight- The maximal height this vehicle can move.
 - 
HeightLimit
public HeightLimit() 
 - 
 - 
Method Details
- 
toString
 - 
getMinHeight
public double getMinHeight()The minimal height this vehicle can move. - 
getMaxHeight
public double getMaxHeight()The maximal height this vehicle can move. - 
setMinHeight
public void setMinHeight(double minHeight) The minimal height this vehicle can move. - 
setMaxHeight
public void setMaxHeight(double maxHeight) The maximal height this vehicle can move. 
 -