Package games.stendhal.common
Class Outfits
java.lang.Object
games.stendhal.common.Outfits
class to store the max outfit numbers for player available outfits.
- Author:
- kymara
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intnumber of player selectable body shapesstatic final intnumber of player selectable dressesstatic final intnumber of player selectable eyesstatic final intnumber of player selectable hair stylesstatic final intstatic final intnumber of player selectable headsstatic final intstatic final intstatic final intnumber of player selectable mouths -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisDressCompatibleBody(Integer body) Checks if a dress layer can be worn over an outfit index.
-
Field Details
-
HEAD_OUTFITS
public static final int HEAD_OUTFITSnumber of player selectable heads- See Also:
-
CLOTHES_OUTFITS
public static final int CLOTHES_OUTFITSnumber of player selectable dresses- See Also:
-
HAIR_OUTFITS
public static final int HAIR_OUTFITSnumber of player selectable hair styles- See Also:
-
BODY_OUTFITS
public static final int BODY_OUTFITSnumber of player selectable body shapes- See Also:
-
EYES_OUTFITS
public static final int EYES_OUTFITSnumber of player selectable eyes- See Also:
-
MOUTH_OUTFITS
public static final int MOUTH_OUTFITSnumber of player selectable mouths- See Also:
-
MASK_OUTFITS
public static final int MASK_OUTFITS- See Also:
-
HAT_OUTFITS
public static final int HAT_OUTFITS- See Also:
-
HATS_NO_HAIR
-
LAYER_NAMES
-
LAYERS_COUNT
public static final int LAYERS_COUNT -
RECOLORABLE_OUTFIT_PARTS
-
SKIN_LAYERS
-
-
Constructor Details
-
Outfits
public Outfits()
-
-
Method Details
-
isDressCompatibleBody
Checks if a dress layer can be worn over an outfit index.- Parameters:
body- Body index.- Returns:
trueif body isnull, or if body is within the range of player-selectable indexes, or if the index has been explicitly listed in the dress compatible list.
-