Loop Manager
class LoopManager(targetFPS: Int, val updateFunction: (deltaTime: Long) -> Unit, val renderFunction: () -> Unit)
Manages the main loop for updating and rendering at a target frames per second (FPS).
Parameters
target FPS
The target frames per second.
update Function
The function to call for updating logic.
render Function
The function to call for rendering.