| Modifier and Type | Class and Description |
|---|---|
| protected static interface |
| Modifier and Type | Field and Description |
|---|---|
| protected AtlasTmjMapLoader. | |
| protected Array |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addStaticTiles(FileHandle tmjFile, ImageResolver imageResolver, TiledMapTileSet tileSet, JsonValue element, JsonValue tiles, String name, int firstgid, int tilewidth, int tileheight, int spacing, int margin, int offsetX, int offsetY, String imageSource, int imageWidth, int imageHeight, FileHandle image)
Implements abstract com.
|
| protected FileHandle | |
| protected Array | getDependencyAssetDescriptors(FileHandle tmxFile, TextureLoader.
Implements abstract com. Meant to be called within getDependencies() of a child class |
| public TiledMap | |
| public TiledMap | |
| public void | loadAsync(AssetManager manager, String fileName, FileHandle tmjFile, BaseTiledMapLoader.
Implements abstract com. Loads the non-OpenGL part of the asset and injects any dependencies of the asset into the AssetManager. |
| public TiledMap | loadSync(AssetManager manager, String fileName, FileHandle file, BaseTiledMapLoader.
Implements abstract com. Loads the OpenGL part of the asset. |
| pack-priv static String | Returns: The name of the region to pass into an atlasName to check name)Parse incoming region name to check for 'atlas_imagelayer' within the String These are regions representing Image Layers that have been packed into the atlas ImageLayer Image names include the relative assets path, so it must be stripped. |
| protected void |
| atlasResolver | back to summary |
|---|---|
| protected AtlasTmjMapLoader. | |
| trackedTextures | back to summary |
|---|---|
| protected Array<Texture> trackedTextures | |
| AtlasTmjMapLoader | back to summary |
|---|---|
| public AtlasTmjMapLoader() | |
| AtlasTmjMapLoader | back to summary |
|---|---|
| public AtlasTmjMapLoader(FileHandleResolver resolver) | |
| addStaticTiles | back to summary |
|---|---|
| protected void addStaticTiles(FileHandle tmjFile, ImageResolver imageResolver, TiledMapTileSet tileSet, JsonValue element, JsonValue tiles, String name, int firstgid, int tilewidth, int tileheight, int spacing, int margin, int offsetX, int offsetY, String imageSource, int imageWidth, int imageHeight, FileHandle image) Implements abstract com.
| |
| getAtlasFileHandle | back to summary |
|---|---|
| protected FileHandle getAtlasFileHandle(FileHandle tmjFile) | |
| getDependencyAssetDescriptors | back to summary |
|---|---|
| protected Array Implements abstract com. Doc from com. Meant to be called within getDependencies() of a child class
| |
| load | back to summary |
|---|---|
| public TiledMap load(String fileName) | |
| load | back to summary |
|---|---|
| public TiledMap load(String fileName, BaseTiledMapLoader. | |
| loadAsync | back to summary |
|---|---|
| public void loadAsync(AssetManager manager, String fileName, FileHandle tmjFile, BaseTiledMapLoader. Implements abstract com. Doc from com. Loads the non-OpenGL part of the asset and injects any dependencies of the asset into the AssetManager.
| |
| loadSync | back to summary |
|---|---|
| public TiledMap loadSync(AssetManager manager, String fileName, FileHandle file, BaseTiledMapLoader. Implements abstract com. Doc from com. Loads the OpenGL part of the asset.
| |
| parseRegionName | back to summary |
|---|---|
| pack-priv static String parseRegionName(String name) Parse incoming region name to check for 'atlas_imagelayer' within the String These are regions representing Image Layers that have been packed into the atlas ImageLayer Image names include the relative assets path, so it must be stripped. | |
| setTextureFilters | back to summary |
|---|---|
| protected void setTextureFilters(Texture. | |
| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class |
| Modifier and Type | Method and Description |
|---|---|
| public TextureAtlas |
| getAtlas | back to summary |
|---|---|
| public TextureAtlas getAtlas() | |
| Modifier and Type | Field and Description |
|---|---|
| private final AssetManager | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public TextureAtlas | |
| public TextureRegion |
| assetManager | back to summary |
|---|---|
| private final AssetManager assetManager | |
| atlasName | back to summary |
|---|---|
| private final String atlasName | |
| AssetManagerAtlasResolver | back to summary |
|---|---|
| public AssetManagerAtlasResolver(AssetManager assetManager, String atlasName) | |
| getAtlas | back to summary |
|---|---|
| public TextureAtlas getAtlas() Implements com.
| |
| getImage | back to summary |
|---|---|
| public TextureRegion getImage(String name) Implements com.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final TextureAtlas |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public TextureAtlas | |
| public TextureRegion |
| atlas | back to summary |
|---|---|
| private final TextureAtlas atlas | |
| DirectAtlasResolver | back to summary |
|---|---|
| public DirectAtlasResolver(TextureAtlas atlas) | |
| getAtlas | back to summary |
|---|---|
| public TextureAtlas getAtlas() Implements com.
| |
| getImage | back to summary |
|---|---|
| public TextureRegion getImage(String name) Implements com.
| |