예제 #1
0
 /// <summary>
 /// Reset the entire game completely to start over again.
 /// </summary>
 private void Reset()
 {
     _points = 0;
     this.PointsDisplay.text = "Points: " + this._points;
     _lives = 3;
     this.LivesDisplay.text = "Lives: " + this._lives;
     _dotsConsumed          = 0;
     if (this._started)
     {
         _player.Reset();
         _cage.ResetGhosts();
         _map.Reset();
     }
 }