public int GetCurrentLevel() { return(config.GetLevelForProgress(currentProgress)); }
public Levels(LevelConfig _config) { config = _config; currentProgress = config.GetSavedProgress(); cachedLevel = config.GetLevelForProgress(currentProgress); }