Class Sounds
java.lang.Object
nl.sbdeveloper.vehiclesplus.api.vehicles.settings.impl.Sounds
- All Implemented Interfaces:
Setting
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Sounds.SoundsBuilder
builder()
The sound played when the vehicle is accelerating, so W is pressed.The sound played when the vehicle is driving, even if it's accelerating / slowing down.getIdle()
The sound played when the vehicle is in idle, so not moving.The sound played when the vehicle is slowing down / breaking, so S is pressed.getStart()
The sound played when the vehicle is started, so when it starts moving.void
setAccelerate
(Sounds.Sound accelerate) The sound played when the vehicle is accelerating, so W is pressed.void
setDriving
(Sounds.Sound driving) The sound played when the vehicle is driving, even if it's accelerating / slowing down.void
setIdle
(Sounds.Sound idle) The sound played when the vehicle is in idle, so not moving.void
setSlowingDown
(Sounds.Sound slowingDown) The sound played when the vehicle is slowing down / breaking, so S is pressed.void
setStart
(Sounds.Sound start) The sound played when the vehicle is started, so when it starts moving.toString()
-
Method Details
-
toString
-
builder
-
getIdle
The sound played when the vehicle is in idle, so not moving. -
getStart
The sound played when the vehicle is started, so when it starts moving. -
getAccelerate
The sound played when the vehicle is accelerating, so W is pressed. -
getDriving
The sound played when the vehicle is driving, even if it's accelerating / slowing down. -
getSlowingDown
The sound played when the vehicle is slowing down / breaking, so S is pressed. -
setIdle
The sound played when the vehicle is in idle, so not moving. -
setStart
The sound played when the vehicle is started, so when it starts moving. -
setAccelerate
The sound played when the vehicle is accelerating, so W is pressed. -
setDriving
The sound played when the vehicle is driving, even if it's accelerating / slowing down. -
setSlowingDown
The sound played when the vehicle is slowing down / breaking, so S is pressed.
-