Class Hitbox
java.lang.Object
nl.sbdeveloper.vehiclesplus.api.vehicles.settings.impl.Hitbox
- All Implemented Interfaces:
- Setting
The Hitbox setting.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondoubleThe Y-positiondoubleThe Z-position (when facing North)doublegetWidth()The X-position (when facing North)voidsetHeight(double height) The Y-positionvoidsetLength(double length) The Z-position (when facing North)voidsetWidth(double width) The X-position (when facing North)toString()
- 
Constructor Details- 
Hitboxpublic Hitbox(double length, double width, double height) Creates a newHitboxinstance.- Parameters:
- length- The Z-position (when facing North)
- width- The X-position (when facing North)
- height- The Y-position
 
- 
Hitboxpublic Hitbox()
 
- 
- 
Method Details- 
toString
- 
getLengthpublic double getLength()The Z-position (when facing North)
- 
getWidthpublic double getWidth()The X-position (when facing North)
- 
getHeightpublic double getHeight()The Y-position
- 
setLengthpublic void setLength(double length) The Z-position (when facing North)
- 
setWidthpublic void setWidth(double width) The X-position (when facing North)
- 
setHeightpublic void setHeight(double height) The Y-position
 
-