Package games.stendhal.client
Class OutfitStore
java.lang.Object
games.stendhal.client.OutfitStore
An outfit store.
-
Method Summary
Modifier and TypeMethodDescriptionstatic OutfitStoreget()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, boolean busty) Get the layer sprite tileset.getLayerSprite(String layer, int index, OutfitColor color) Get the layer sprite tileset.getLayerSprite(String layer, int index, OutfitColor color, boolean busty) Get the layer sprite tileset.voidinit()
-
Method Details
-
init
public void init() -
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.busty- Body type is "busty".- Returns:
- The Sprite or
null.
-
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.busty- Body type is "busty".- 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
Get an outfit with color adjustment, such as a player in colored light.
-