// Update game state Update();

private void Render() { // Render game graphics } }

class GameLoop { private bool isRunning;