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;
 }
Пример #2
0
        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;
        }