Package com.nevergarden.myna.util
Class AssetManager
- java.lang.Object
 - 
- com.nevergarden.myna.util.AssetManager
 
 
- 
public class AssetManager extends java.lang.ObjectAssetManager 
- 
- 
Constructor Summary
Constructors Constructor Description AssetManager(Myna myna) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TextureloadTexture(int id)Loads up a texture.AsyncTextureloadTextureAsync(int id)Loads an async texture.TPAtlasloadTexturePackerJsonAtlas(int textureId, int spriteSheetId)Loads a new texture packer atlas.AsyncTPAtlasloadTexturePackerJsonAtlasAsync(int id, int atlasID)Loads up a new async texture packer atlas. 
 - 
 
- 
- 
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. 
 - 
 
 -