public override string GetStatusReadout()
 {
     return(Score.ToString() + " / " + MaxScore.ToString());
 }
Ejemplo n.º 2
0
 public string GetCountryInCsv()
 {
     return($"{CountryName};{AverageScore.ToString()};{MedianScore.ToString()};{MaxScore.ToString()};{MaxScorePerson};{MinScore.ToString()};{MinScorePerson};{RecordCount.ToString()}");
 }
Ejemplo n.º 3
0
 public override string ToString()
 {
     return($"{Name} - Avg: {AverageScore.ToString("F3")}, Max: {MaxScore.ToString("F3")}");
 }
Ejemplo n.º 4
0
 void Update()
 {
     //Time Game
     TimeGame += Time.deltaTime;
     //Time Cooldown
     Cooldown -= Time.deltaTime;
     Movment();
     ScoreCount();
     //UI interface
     SpeedText.text    = "Speed: " + SpeedNow.ToString();
     ScoreText.text    = "Score: " + Score.ChangeScore();
     DataGameOver.text = "Score: " + Score.ToString() + "\n" + "Time Game: " + CountTime.ToString()
                         + "\n" + "Asteroid Count: " + CountAsteroid.ToString() + "\n" + "Max Score Game: " + MaxScore.ToString() + "\n" + "Max Asteroid Count: " + MaxAsteroid.ToString();
 }
Ejemplo n.º 5
0
 public override string GetStatusReadout()
 {
     return(Score.ToString() + " / " + MaxScore.ToString()); //this prints the current score
 }
Ejemplo n.º 6
0
 public override string GetStatusReadout()
 {
     return(Score + " / " + MaxScore.ToString());
     //Getstatusreadout returns the score of bowling pins knocked down.
 }