render

open fun render(batch: Batch, camera: Camera, shapeRenderer: ShapeRenderer)

The main render method. The Camera can be used for culling and the Batch instance to draw with.

Parameters

batch

the batcher

camera

the Camera2D node

shapeRenderer

the shape renderer