Class WbsSoundGroup

java.lang.Object
wbs.utils.util.WbsSoundGroup
All Implemented Interfaces:
Serializable

public class WbsSoundGroup extends Object implements Serializable
A group of WbsSounds.
See Also:
  • Constructor Details

    • WbsSoundGroup

      public WbsSoundGroup(WbsSound... sounds)
  • Method Details

    • addSound

      public void addSound(WbsSound sound, long ticks)
      Add a WbsSound to this sound group
      Parameters:
      sound - The sound to add
      ticks - Optionally, the delay between this sound and the previously added one
    • addSound

      public void addSound(WbsSound sound)
      Add a WbsSound to this sound group
      Parameters:
      sound - The sound to add
    • play

      public void play(org.bukkit.Location loc)
      Play the sound.
      Parameters:
      loc - The location at which to play the sound