Enum Class Sounds

java.lang.Object
java.lang.Enum<Sounds>
com.realtime.crossfire.jxclient.sound.Sounds
All Implemented Interfaces:
Serializable, Comparable<Sounds>, Constable

public enum Sounds extends Enum<Sounds>
Manages all sounds.
  • Enum Constant Details

    • CHARACTER

      public static final Sounds CHARACTER
      A character related sound event.
  • Field Details

    • POISON_ON

      @NotNull public static final @NotNull String POISON_ON
      The sound to play when the character get poisoned.
      See Also:
    • POISON_OFF

      @NotNull public static final @NotNull String POISON_OFF
      The sound to play when the character gets un-poisoned.
      See Also:
    • LEVEL_UP

      @NotNull public static final @NotNull String LEVEL_UP
      The sound to play when the character gains a new level.
      See Also:
  • Method Details

    • values

      public static Sounds[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Sounds valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null