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

public class Sounds extends Object implements Setting
  • Method Details

    • toString

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

      public static Sounds.SoundsBuilder builder()
    • getIdle

      public Sounds.Sound getIdle()
      The sound played when the vehicle is in idle, so not moving.
    • getStart

      public Sounds.Sound getStart()
      The sound played when the vehicle is started, so when it starts moving.
    • getAccelerate

      public Sounds.Sound getAccelerate()
      The sound played when the vehicle is accelerating, so W is pressed.
    • getDriving

      public Sounds.Sound getDriving()
      The sound played when the vehicle is driving, even if it's accelerating / slowing down.
    • getSlowingDown

      public Sounds.Sound getSlowingDown()
      The sound played when the vehicle is slowing down / breaking, so S is pressed.
    • setIdle

      public void setIdle(Sounds.Sound idle)
      The sound played when the vehicle is in idle, so not moving.
    • setStart

      public void setStart(Sounds.Sound start)
      The sound played when the vehicle is started, so when it starts moving.
    • setAccelerate

      public void setAccelerate(Sounds.Sound accelerate)
      The sound played when the vehicle is accelerating, so W is pressed.
    • setDriving

      public void setDriving(Sounds.Sound driving)
      The sound played when the vehicle is driving, even if it's accelerating / slowing down.
    • setSlowingDown

      public void setSlowingDown(Sounds.Sound slowingDown)
      The sound played when the vehicle is slowing down / breaking, so S is pressed.