Пример #1
0
 public override Dictionary <string, string> GetGameSummary()
 {
     return(new Dictionary <string, string>()
     {
         { "Final Score", currentScore.ToString() },
         { "Highest Combo", HighestCombo.ToString() },
         { "Good Hits", GoodHits.ToString() },
         { "Bad Hits", BadHits.ToString() },
         { "Accuracy", ((float)GoodHits / (GoodHits + BadHits)).ToString("P") }
     });
 }
Пример #2
0
 public override Dictionary <string, string> GetGameSummary()
 {
     return(new Dictionary <string, string>()
     {
         { "Time Survived", timeSurvived.ToString("F2") + "s" },
         { "Highest Combo", HighestCombo.ToString() },
         { "Good Hits", GoodHits.ToString() },
         { "Bad Hits", BadHits.ToString() },
         { "Accuracy", ((float)GoodHits / (GoodHits + BadHits)).ToString("P") }
     });
 }