Exemplo n.º 1
0
 /// <summary>
 /// Checks that the level is prepared. Returns false if there is no spawner.
 /// </summary>
 public bool LevelReady()
 {
     if (Placeables.FirstOrDefault(placeable => placeable.ObstacleName == "Ball Spawner") != null)
     {
         return(true);
     }
     return(false);
 }
Exemplo n.º 2
0
 public PlaceableData GetSpawnPoint()
 {
     return(Placeables.FirstOrDefault(placeable => placeable.typeStr == "Ball Spawner"));
 }