Exemple #1
0
 /// <summary>
 /// Resets the object.
 /// </summary>
 public override void Reset()
 {
     base.Reset();
     spawnedLemmings         = 0;
     finishedSpawnedLemmings = 0;
     spawnTimer.Reset();
 }
Exemple #2
0
 /// <summary>
 /// Writes the current game to a file and resets the log.
 /// </summary>
 internal void Reset()
 {
     WriteToFile();
     stopped = false;
     playerPositions.Clear();
     if (lemmingPositions != null)
     {
         for (int i = 0; i < lemmingPositions.Length; i++)
         {
             lemmingPositions[i].Clear();
         }
     }
     logTimer.Reset();
 }