@Override public TextureRegion getTextureRegion () { return getCurrentFrame().getTextureRegion(); }
@Override public TextureRegion getTextureRegion () { return getCurrentFrame().getTextureRegion(); }
public TiledMapTileMapObject (TiledMapTile tile, boolean flipHorizontally, boolean flipVertically) { this.flipHorizontally = flipHorizontally; this.flipVertically = flipVertically; this.tile = tile; TextureRegion textureRegion = new TextureRegion(tile.getTextureRegion()); textureRegion.flip(flipHorizontally, flipVertically); setTextureRegion(textureRegion); }
public TiledMapTileMapObject (TiledMapTile tile, boolean flipHorizontally, boolean flipVertically) { this.flipHorizontally = flipHorizontally; this.flipVertically = flipVertically; this.tile = tile; TextureRegion textureRegion = new TextureRegion(tile.getTextureRegion()); textureRegion.flip(flipHorizontally, flipVertically); setTextureRegion(textureRegion); }
protected void loadObject (TiledMap map, TiledMapTile tile, Element element) { loadObject(map, tile.getObjects(), element, tile.getTextureRegion().getRegionHeight()); }
protected void loadObject (TiledMap map, TiledMapTile tile, Element element) { loadObject(map, tile.getObjects(), element, tile.getTextureRegion().getRegionHeight()); }
final boolean flipY = cell.getFlipVertically(); final int rotations = cell.getRotation(); TextureRegion region = tile.getTextureRegion();
final boolean flipY = cell.getFlipVertically(); final int rotations = cell.getRotation(); TextureRegion region = tile.getTextureRegion();
final int rotations = cell.getRotation(); TextureRegion region = tile.getTextureRegion();
final int rotations = cell.getRotation(); TextureRegion region = tile.getTextureRegion();
final int rotations = cell.getRotation(); final TextureRegion region = tile.getTextureRegion(); final Texture texture = region.getTexture();
final int rotations = cell.getRotation(); final TextureRegion region = tile.getTextureRegion(); final Texture texture = region.getTexture();
final int rotations = cell.getRotation(); TextureRegion region = tile.getTextureRegion();
final int rotations = cell.getRotation(); TextureRegion region = tile.getTextureRegion();
final int rotations = cell.getRotation(); TextureRegion region = tile.getTextureRegion();
final int rotations = cell.getRotation(); TextureRegion region = tile.getTextureRegion();
batch.begin(); TiledMapTileMapObject tmtObject = (TiledMapTileMapObject)mapObject; TextureRegion textureRegion = tmtObject.getTile().getTextureRegion();
@Override public TextureRegion getTextureRegion () { return getCurrentFrame().getTextureRegion(); }
public TiledMapTileMapObject (TiledMapTile tile, boolean flipHorizontally, boolean flipVertically) { this.flipHorizontally = flipHorizontally; this.flipVertically = flipVertically; this.tile = tile; TextureRegion textureRegion = new TextureRegion(tile.getTextureRegion()); textureRegion.flip(flipHorizontally, flipVertically); setTextureRegion(textureRegion); }
protected void loadObject (TiledMap map, TiledMapTile tile, Element element) { loadObject(map, tile.getObjects(), element, tile.getTextureRegion().getRegionHeight()); }