public void Render(TimeInfo time) { frameCounter.FrameRendering(time); graphics.BeginFrame(); graphics.ClearScreen(currentScreen.BackgroundColor); currentScreen.Render(time); graphics.EndFrame(); }