Class SpriteManager


  • @Singleton
    public class SpriteManager
    extends Object
    • Constructor Detail

      • SpriteManager

        public SpriteManager()
    • Method Detail

      • 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)