Class AssetManager


  • public class AssetManager
    extends java.lang.Object
    AssetManager
    • Constructor Detail

      • AssetManager

        public AssetManager​(Myna myna)
    • Method Detail

      • loadTexturePackerJsonAtlas

        public TPAtlas loadTexturePackerJsonAtlas​(int textureId,
                                                  int spriteSheetId)
        Loads a new texture packer atlas.
      • loadTexturePackerJsonAtlasAsync

        public AsyncTPAtlas loadTexturePackerJsonAtlasAsync​(int id,
                                                            int atlasID)
        Loads up a new async texture packer atlas.
      • loadTexture

        public Texture loadTexture​(int id)
        Loads up a texture.
      • loadTextureAsync

        public AsyncTexture loadTextureAsync​(int id)
        Loads an async texture.