java.lang.Object
nl.sbdeveloper.vehiclesplus.api.vehicles.settings.impl.HeightLimit
All Implemented Interfaces:
Setting

public class HeightLimit extends Object implements Setting
The min and max height settings.
  • Constructor Details

    • HeightLimit

      public HeightLimit(double minHeight, double maxHeight)
      Creates a new HeightLimit instance.
      Parameters:
      minHeight - The minimal height this vehicle can move.
      maxHeight - The maximal height this vehicle can move.
    • HeightLimit

      public HeightLimit()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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.