java.io.Serializable
, java.lang.Comparable<ColorLibrary.SpecialColor>
public static enum ColorLibrary.SpecialColor extends java.lang.Enum<ColorLibrary.SpecialColor>
Enum Constant | Description |
---|---|
CHANNEL |
|
CHANNELFORE |
|
DIRECTION |
|
DOORDESC |
|
EMOTE |
|
FIGHT |
|
FIGHT_YOU |
|
HIGHLIGHT |
|
HITPOINTS |
|
IMPORTANT1 |
|
IMPORTANT2 |
|
IMPORTANT3 |
|
ITEM |
|
MANA |
|
MOB |
|
MOVES |
|
NORMAL |
|
ROOMDESC |
|
ROOMTITLE |
|
SPELL |
|
TALK |
|
TELL |
|
UNEXPDIRECTION |
|
UNEXPDOORDESC |
|
WEATHER |
|
YOU_FIGHT |
Modifier and Type | Method | Description |
---|---|---|
static ColorLibrary.SpecialColor |
get(char escapeChar) |
Returns a mapped object based on escape char
|
java.lang.String |
getCharStateStat() |
Returns the char state stat
|
char |
getCodeChar() |
Returns the ^ color code
|
java.lang.String |
getCodeString() |
Returns the name with _ replaced by -
|
java.lang.String |
getEscapeCode() |
Returns the FULL ^ color code
|
static ColorLibrary.SpecialColor |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ColorLibrary.SpecialColor[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorLibrary.SpecialColor YOU_FIGHT
public static final ColorLibrary.SpecialColor FIGHT_YOU
public static final ColorLibrary.SpecialColor FIGHT
public static final ColorLibrary.SpecialColor SPELL
public static final ColorLibrary.SpecialColor EMOTE
public static final ColorLibrary.SpecialColor TALK
public static final ColorLibrary.SpecialColor TELL
public static final ColorLibrary.SpecialColor CHANNEL
public static final ColorLibrary.SpecialColor CHANNELFORE
public static final ColorLibrary.SpecialColor IMPORTANT1
public static final ColorLibrary.SpecialColor IMPORTANT2
public static final ColorLibrary.SpecialColor IMPORTANT3
public static final ColorLibrary.SpecialColor ROOMTITLE
public static final ColorLibrary.SpecialColor ROOMDESC
public static final ColorLibrary.SpecialColor DIRECTION
public static final ColorLibrary.SpecialColor DOORDESC
public static final ColorLibrary.SpecialColor ITEM
public static final ColorLibrary.SpecialColor MOB
public static final ColorLibrary.SpecialColor HITPOINTS
public static final ColorLibrary.SpecialColor MANA
public static final ColorLibrary.SpecialColor MOVES
public static final ColorLibrary.SpecialColor NORMAL
public static final ColorLibrary.SpecialColor HIGHLIGHT
public static final ColorLibrary.SpecialColor UNEXPDIRECTION
public static final ColorLibrary.SpecialColor UNEXPDOORDESC
public static final ColorLibrary.SpecialColor WEATHER
public static ColorLibrary.SpecialColor[] values()
for (ColorLibrary.SpecialColor c : ColorLibrary.SpecialColor.values()) System.out.println(c);
public static ColorLibrary.SpecialColor valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ColorLibrary.SpecialColor get(char escapeChar)
escapeChar
- the char to look forpublic java.lang.String getCharStateStat()
public final char getCodeChar()
public final java.lang.String getEscapeCode()
public final java.lang.String getCodeString()