Class Sounds.SoundsBuilder
java.lang.Object
nl.sbdeveloper.vehiclesplus.api.vehicles.settings.impl.Sounds.SoundsBuilder
- Enclosing class:
Sounds
-
Method Summary
Modifier and TypeMethodDescriptionaccelerate
(Sounds.Sound accelerate) The sound played when the vehicle is accelerating, so W is pressed.build()
driving
(Sounds.Sound driving) The sound played when the vehicle is driving, even if it's accelerating / slowing down.idle
(Sounds.Sound idle) The sound played when the vehicle is in idle, so not moving.slowingDown
(Sounds.Sound slowingDown) The sound played when the vehicle is slowing down / breaking, so S is pressed.start
(Sounds.Sound start) The sound played when the vehicle is started, so when it starts moving.toString()
-
Method Details
-
idle
The sound played when the vehicle is in idle, so not moving.- Returns:
this
.
-
start
The sound played when the vehicle is started, so when it starts moving.- Returns:
this
.
-
accelerate
The sound played when the vehicle is accelerating, so W is pressed.- Returns:
this
.
-
driving
The sound played when the vehicle is driving, even if it's accelerating / slowing down.- Returns:
this
.
-
slowingDown
The sound played when the vehicle is slowing down / breaking, so S is pressed.- Returns:
this
.
-
build
-
toString
-