Class OutfitStore

java.lang.Object
games.stendhal.client.OutfitStore

public class OutfitStore extends Object
An outfit store.
  • Method Details

    • get

      public static OutfitStore get()
      Get the shared instance.
      Returns:
      The shared [singleton] instance.
    • getLayerSprite

      public Sprite getLayerSprite(String layer, int index, OutfitColor color)
      Get the layer sprite tileset.
      Parameters:
      layer - Name of the layer.
      index - The resource index.
      color - Layer coloring.
      Returns:
      The Sprite or null.
    • getLayerSprite

      public Sprite getLayerSprite(String layer, int index)
      Get the layer sprite tileset.
      Parameters:
      layer - Name of the layer.
      index - The resource index.
      Returns:
      The Sprite or null.
    • getFailsafeOutfit

      public Sprite 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.