Exemple #1
0
        public static void Draw()
        {
            String strScore1  = ScoreManager.GetScore(ScoreType.Player1Score).ToString().PadLeft(4, '0');
            String strScore2  = ScoreManager.GetScore(ScoreType.Player2Score).ToString().PadLeft(4, '0');
            String strHiScore = ScoreManager.GetScore(ScoreType.HiScore).ToString().PadLeft(4, '0');
            String strCredits = ScoreManager.GetScore(ScoreType.Credits).ToString().PadLeft(2, '0');

            DrawString("SCORE< 1 >          HI-SCORE          SCORE< 2 >", 10.0f, 1004.0f);
            DrawString(String.Format("   {0}               {1}               {2}", strScore1, strHiScore, strScore2), 10.0f, 970.0f);
            DrawString(String.Format("CREDIT {0}", strCredits), 700.0f, 50.0f);
            GameManager.Draw();
        }
Exemple #2
0
 public override void Draw()
 {
     GameManager.Draw();
 }