Example #1
0
 public void PassObject()
 {
     numObjectsPassed += 1;
     if (_increaseHardnessAtNumObjects.Contains(numObjectsPassed))
     {
         _hardnessLevel += 1;
         if (_hardnessLevel == IncreaseHardnessAtNumObjects.Count)
         {
             mapHandler.AddDestination();
         }
         else
         {
             mapHandler.AddGasStation();
         }
     }
 }