public LevelStats GetStats(LevelToUnlock GetLevel) { switch (GetLevel) { case LevelToUnlock.tutorial: return(TutorialLevelStats); break; case LevelToUnlock.earthLevel: return(EarthLevelStats); break; case LevelToUnlock.airLevel: return(AirLevelStats); break; case LevelToUnlock.fireLevel: return(FireLevelStats); break; case LevelToUnlock.iceLevel: return(WaterLevelStats); } return(null); }
public void testingSomething(LevelToUnlock myLevel) { GameManager.LoadLevel (myLevel); }
public static void LoadLevel(LevelToUnlock level) //run this when we load a level through the UI { curLevel = loadedGame.GetStats(level); }
public void testingSomething(LevelToUnlock myLevel) { GameManager.LoadLevel(myLevel); }