Exemplo n.º 1
0
        private void DrawScore()
        {
            int x = playAreaWidth + borderSize * 3 / 2;
            int y = borderSize * 2;

            font.DrawText(x, y, "Score");

            for (int i = 0; i < 2; i++)
            {
                y += font.StringDisplayHeight("M") * 2;
                font.DrawText(x, y, names[i]);

                y += font.StringDisplayHeight("M");
                font.DrawText(x, y, score[i].ToString());
            }
        }