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
Modifier and TypeFieldDescriptionstatic int
number of player selectable body shapesstatic int
number of player selectable dressesstatic int
number of player selectable eyesstatic int
number of player selectable hair stylesstatic int
static int
number of player selectable headsstatic int
static int
static int
number of player selectable mouths -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isDressCompatibleBody(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:
- Constant Field Values
-
CLOTHES_OUTFITS
public static final int CLOTHES_OUTFITSnumber of player selectable dresses- See Also:
- Constant Field Values
-
HAIR_OUTFITS
public static final int HAIR_OUTFITSnumber of player selectable hair styles- See Also:
- Constant Field Values
-
BODY_OUTFITS
public static final int BODY_OUTFITSnumber of player selectable body shapes- See Also:
- Constant Field Values
-
EYES_OUTFITS
public static final int EYES_OUTFITSnumber of player selectable eyes- See Also:
- Constant Field Values
-
MOUTH_OUTFITS
public static final int MOUTH_OUTFITSnumber of player selectable mouths- See Also:
- Constant Field Values
-
MASK_OUTFITS
public static final int MASK_OUTFITS- See Also:
- Constant Field Values
-
HAT_OUTFITS
public static final int HAT_OUTFITS- See Also:
- Constant Field Values
-
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:
true
if 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.
-