public StageLevelInfo GetCurrentLevel() { StageInfo currentStg = GetCurrentStage(); if (currentStg != null && currentLevel >= 0 && currentLevel < currentStg.LevelLength) { return(currentStg.GetLevel(currentLevel)); } return(null); }
public StageLevelInfo GetLevel(int stg, int lv) { StageInfo stage = GetStage(stg); if (stage != null) { return(stage.GetLevel(lv)); } return(null); }