/** * 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(); }
@Override public void renderImageLayer(TiledMapImageLayer layer) { }