Example #1
0
 private static void CheckForPlayerSuccess(this GameLevel gameLevel)
 {
     if (gameLevel.DeadCreepCount + gameLevel.ExitReachedCreepCount <
         gameLevel.WaveGenerator.TotalCreepsInLevel)
     {
         return;
     }
     gameLevel.FinishChapter();
 }