Home
last modified time | relevance | path

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

/external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/
DBaseTmxMapLoader.java217 …TiledMapTileMapObject tiledMapTileMapObject = new TiledMapTileMapObject(tile, flipHorizontally, fl… in loadObject() local
218 TextureRegion textureRegion = tiledMapTileMapObject.getTextureRegion(); in loadObject()
219 tiledMapTileMapObject.getProperties().put("gid", id); in loadObject()
220 tiledMapTileMapObject.setX(x); in loadObject()
221 tiledMapTileMapObject.setY(flipY ? y : y - height); in loadObject()
224 tiledMapTileMapObject.setScaleX(scaleX * (objectWidth / textureRegion.getRegionWidth())); in loadObject()
225 tiledMapTileMapObject.setScaleY(scaleY * (objectHeight / textureRegion.getRegionHeight())); in loadObject()
226 tiledMapTileMapObject.setRotation(element.getFloatAttribute("rotation", 0)); in loadObject()
227 object = tiledMapTileMapObject; in loadObject()