render method
Renders each renderable layer in the same order specified by the Tiled map
Implementation
void render(Canvas c) {
if (_backgroundPaint != null) {
c.drawPaint(_backgroundPaint!);
}
// Paint each layer in reverse order, because the last layers should be
// rendered beneath the first layers
for (final layer in renderableLayers.where((l) => l.visible)) {
layer.render(c, camera);
}
}