Enum SkullIcon

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<SkullIcon>

    public enum SkullIcon
    extends java.lang.Enum<SkullIcon>
    An enumeration of PK skulls.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static SkullIcon valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static SkullIcon[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • SKULL

        public static final SkullIcon SKULL
        White skull from PVP world or wilderness
      • SKULL_FIGHT_PIT

        public static final SkullIcon SKULL_FIGHT_PIT
        Red skull from Tzhaar Fight Pits
      • DEAD_MAN_ONE

        public static final SkullIcon DEAD_MAN_ONE
        Deadman mode sprite carrying one key
      • DEAD_MAN_TWO

        public static final SkullIcon DEAD_MAN_TWO
        Deadman mode sprite carrying two keys
      • DEAD_MAN_THREE

        public static final SkullIcon DEAD_MAN_THREE
        Deadman mode sprite carrying three keys
      • DEAD_MAN_FOUR

        public static final SkullIcon DEAD_MAN_FOUR
        Deadman mode sprite carrying four keys
      • DEAD_MAN_FIVE

        public static final SkullIcon DEAD_MAN_FIVE
        Deadman mode sprite carrying five keys
    • Method Detail

      • values

        public static SkullIcon[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SkullIcon c : SkullIcon.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SkullIcon valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null