void Redraw(double delta) { game.Graphics.Draw2DQuad(0, 0, game.Width, game.Height, top, bottom); game.Graphics.Texturing = true; titleWidget.Render(delta); messageWidget.Render(delta); if (canReconnect) { reconnect.Render(delta); } game.Graphics.Texturing = false; }
public override void Render(double delta) { if (canReconnect) { UpdateDelayLeft(delta); } game.Graphics.Draw2DQuad(0, 0, game.Width, game.Height, top, bottom); game.Graphics.Texturing = true; titleWidget.Render(delta); messageWidget.Render(delta); if (canReconnect) { reconnect.Render(delta); } game.Graphics.Texturing = false; }