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
FieldsModifier and TypeFieldDescriptionstatic final StringIdentifier for detail color.static final StringIdentifier for dress color.static final StringIdentifier for eyes color.static final StringIdentifier for hair color.static final StringIdentifier for hat color.static final StringIdentifier for mask color.static final OutfitColorstatic final StringIdentifier for skin color. -
Method Summary
-
Field Details
-
HAT
Identifier for hat color.- See Also:
-
HAIR
Identifier for hair color.- See Also:
-
MASK
Identifier for mask color.- See Also:
-
EYES
Identifier for eyes color.- See Also:
-
DRESS
Identifier for dress color.- See Also:
-
SKIN
Identifier for skin color.- See Also:
-
DETAIL
Identifier for detail color.- See Also:
-
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
nullif the part does not have a specified color
-