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