Java 类com.badlogic.gdx.maps.tiled.TiledMapImageLayer 实例源码

项目:school-game    文件:ExtendedOrthogonalTiledMapRenderer.java   
/**
 * Rendert alle Layer und alle Objekte
 *
 * @param deltaTime die Zeit, die seit dem letztem Frame vergangen ist
 */
public void renderAll(float deltaTime) {
    beginRender();
    for (MapLayer layer : map.getLayers()) {
        if (layer.isVisible()) {
            if (layer instanceof TiledMapTileLayer) {

                if (layer == displayLayer)
                    renderDisplayLayer((TiledMapTileLayer) layer, deltaTime);
                else
                    renderTileLayer((TiledMapTileLayer)layer);
            } else if (layer instanceof TiledMapImageLayer) {
                renderImageLayer((TiledMapImageLayer)layer);
            } else {
                renderObjects(layer);
            }
        }
    }
    endRender();
}
项目:MMORPG_Prototype    文件:NullOrthogonalTiledMapRenderer.java   
@Override
public void renderImageLayer(TiledMapImageLayer layer)
{
}