Class SpriteManager


  • @Singleton
    public class SpriteManager
    extends Object
    • Method Detail

      • getSprite

        @Nullable
        public BufferedImage getSprite​(int archive,
                                       int file)
      • getSpriteAsync

        public void getSpriteAsync​(int archive,
                                   int file,
                                   InfoBox infoBox)
      • addSpriteTo

        public void addSpriteTo​(JButton c,
                                int archive,
                                int file)
        Calls setIcon on c, ensuring it is repainted when this changes
      • addSpriteTo

        public void addSpriteTo​(JLabel c,
                                int archive,
                                int file)
        Calls setIcon on c, ensuring it is repainted when this changes
      • addSpriteOverrides

        public void addSpriteOverrides​(SpriteOverride[] add)
      • removeSpriteOverrides

        public void removeSpriteOverrides​(SpriteOverride[] remove)