|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.badlogic.gdx.graphics.g2d.tiled.TileAtlas
com.badlogic.gdx.graphics.g2d.tiled.SimpleTileAtlas
public class SimpleTileAtlas
Contains an atlas of tiles by tile id for use with TileMapRenderer
It does not need to be loaded with packed files.
Just plain textures.
Field Summary |
---|
Fields inherited from class com.badlogic.gdx.graphics.g2d.tiled.TileAtlas |
---|
regionsMap, textures |
Constructor Summary | |
---|---|
SimpleTileAtlas(TiledMap map,
FileHandle inputDir)
Creates a TileAtlas for use with TileMapRenderer . |
Method Summary |
---|
Methods inherited from class com.badlogic.gdx.graphics.g2d.tiled.TileAtlas |
---|
dispose, flipRegions, getRegion |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleTileAtlas(TiledMap map, FileHandle inputDir)
TileMapRenderer
.
map
- The tiled mapinputDir
- The directory containing all needed textures in the map
|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |