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); }
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); } }