Package games.stendhal.client
Class OutfitStore
java.lang.Object
games.stendhal.client.OutfitStore
An outfit store.
-
Method Summary
Modifier and TypeMethodDescriptionstatic OutfitStore
get()
Get the shared instance.getAdjustedOutfit(String strcode, OutfitColor color, Color adjColor, Composite blend)
Get an outfit with color adjustment, such as a player in colored light.Get the failsafe outfit.getLayerSprite(String layer, int index)
Get the layer sprite tileset.getLayerSprite(String layer, int index, OutfitColor color)
Get the layer sprite tileset.
-
Method Details
-
get
Get the shared instance.- Returns:
- The shared [singleton] instance.
-
getLayerSprite
Get the layer sprite tileset.- Parameters:
layer
- Name of the layer.index
- The resource index.color
- Layer coloring.- Returns:
- The Sprite or
null
.
-
getLayerSprite
Get the layer sprite tileset.- Parameters:
layer
- Name of the layer.index
- The resource index.- Returns:
- The Sprite or
null
.
-
getFailsafeOutfit
Get the failsafe outfit.- Returns:
- The failsafe outfit tileset.
-
getAdjustedOutfit
public Sprite getAdjustedOutfit(String strcode, OutfitColor color, Color adjColor, Composite blend)Get an outfit with color adjustment, such as a player in colored light.
-