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

public class Hitbox extends Object implements Setting
The Hitbox setting.
  • Constructor Details

    • Hitbox

      public Hitbox(double length, double width, double height)
      Creates a new Hitbox instance.
      Parameters:
      length - The Z-position (when facing North)
      width - The X-position (when facing North)
      height - The Y-position
    • Hitbox

      public Hitbox()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getLength

      public double getLength()
      The Z-position (when facing North)
    • getWidth

      public double getWidth()
      The X-position (when facing North)
    • getHeight

      public double getHeight()
      The Y-position
    • setLength

      public void setLength(double length)
      The Z-position (when facing North)
    • setWidth

      public void setWidth(double width)
      The X-position (when facing North)
    • setHeight

      public void setHeight(double height)
      The Y-position