Package games.stendhal.client.gui
Class OutfitColor
java.lang.Object
games.stendhal.client.gui.OutfitColor
A helper object for accessing players' outfit color data.
-
Field Summary
Modifier and TypeFieldDescriptionstatic String
Identifier for detail color.static String
Identifier for dress color.static String
Identifier for eyes color.static String
Identifier for hair color.static String
Identifier for hat color.static String
Identifier for mask color.static OutfitColor
static String
Identifier for skin color. -
Method Summary
-
Field Details
-
HAT
Identifier for hat color.- See Also:
- Constant Field Values
-
HAIR
Identifier for hair color.- See Also:
- Constant Field Values
-
MASK
Identifier for mask color.- See Also:
- Constant Field Values
-
EYES
Identifier for eyes color.- See Also:
- Constant Field Values
-
DRESS
Identifier for dress color.- See Also:
- Constant Field Values
-
SKIN
Identifier for skin color.- See Also:
- Constant Field Values
-
DETAIL
Identifier for detail color.- See Also:
- Constant Field Values
-
PLAIN
-
-
Method Details
-
get
Get an OutfitColor for an RPObject. If the object has no colors specified, PLAIN is returned.- Parameters:
obj
-- Returns:
- outfit color
-
hashCode
public int hashCode() -
equals
-
toString
-
getColor
Get the color of a specific outfit part.- Parameters:
key
- outfit part identifier- Returns:
- color, or
null
if the part does not have a specified color
-