Home
last modified time | relevance | path

Searched refs:tileid (Results 1 – 2 of 2) sorted by relevance

/external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/
DAtlasTmxMapLoader.java374 int tileid = region.index + 1; in loadTileset() local
375 if (tileid >= firstgid && tileid <= lastgid) { in loadTileset()
377 tile.setId(tileid); in loadTileset()
380 tileset.putTile(tileid, tile); in loadTileset()
387 int tileid = firstgid + tileElement.getIntAttribute("id", 0); in loadTileset() local
388 TiledMapTile tile = tileset.getTile(tileid); in loadTileset()
398 tile.setId(tileid); in loadTileset()
401 tileset.putTile(tileid, tile); in loadTileset()
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tiledmappacker/
DTiledMapPacker.java247 int tileid = tile.getId() & ~0xE0000000; in addTile() local
248 String tilesetName = tilesetNameFromTileId(map, tileid); in addTile()
250 usedIds.add(tileid); in addTile()
258 private String tilesetNameFromTileId (TiledMap map, int tileid) { in tilesetNameFromTileId() argument
260 if (tileid == 0) { in tilesetNameFromTileId()
267 if (tileid >= firstgid) { in tilesetNameFromTileId()