Example #1
0
        protected override void DrawForeground(SKCanvas canvas)
        {
            base.DrawForeground(canvas);

            score.Draw(canvas, (Game.DisplaySize.Width - score.Width) / 2f, groundLevel / 6f);

            tutorial.Draw(canvas);
            gameOver.Draw(canvas);
        }
Example #2
0
        protected override void DrawForeground(SKCanvas canvas)
        {
            base.DrawForeground(canvas);

            score.Draw(canvas, (Game.DisplaySize.Width - score.Width) / 2f, groundLevel / 6f);

            tutorial.Draw(canvas);
            gameOver.Draw(canvas);

            if (ShowButtons)
            {
                // play + scores buttons
                playButton.Draw(canvas);
                scoresButton.Draw(canvas);
            }
        }