/// <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); }
public PlaceableData GetSpawnPoint() { return(Placeables.FirstOrDefault(placeable => placeable.typeStr == "Ball Spawner")); }