| Modifier and Type | Field and Description |
|---|---|
| public final int | |
| public final BufferedImage | |
| private final IntMap | |
| private int | |
| private int | |
| public final int |
| Access | Constructor and Description |
|---|---|
| protected | TileSetLayout(int firstgid, TiledMapTileSet
the tile set to process tileset, FileHandle the directory in which the tile set image is stored baseDir)Constructs a Tile Set layout. |
| Modifier and Type | Method and Description |
|---|---|
| public Vector2 | |
| public int | |
| public int |
| firstgid | back to summary |
|---|---|
| public final int firstgid | |
| image | back to summary |
|---|---|
| public final BufferedImage image | |
| imageTilePositions | back to summary |
|---|---|
| private final IntMap<Vector2> imageTilePositions | |
| numCols | back to summary |
|---|---|
| private int numCols | |
| numRows | back to summary |
|---|---|
| private int numRows | |
| numTiles | back to summary |
|---|---|
| public final int numTiles | |
| TileSetLayout | back to summary |
|---|---|
| protected TileSetLayout(int firstgid, TiledMapTileSet tileset, FileHandle baseDir) throws IOException Constructs a Tile Set layout. The tile set image contained in the baseDir should be the original tile set images before
being processed by
| |
| getLocation | back to summary |
|---|---|
| public Vector2 getLocation(int tile) Returns the location of the tile in | |
| getNumCols | back to summary |
|---|---|
| public int getNumCols() | |
| getNumRows | back to summary |
|---|---|
| public int getNumRows() | |