Example #1
0
    public StageLevelInfo GetCurrentLevel()
    {
        StageInfo currentStg = GetCurrentStage();

        if (currentStg != null && currentLevel >= 0 && currentLevel < currentStg.LevelLength)
        {
            return(currentStg.GetLevel(currentLevel));
        }

        return(null);
    }
Example #2
0
    public StageLevelInfo GetLevel(int stg, int lv)
    {
        StageInfo stage = GetStage(stg);

        if (stage != null)
        {
            return(stage.GetLevel(lv));
        }

        return(null);
    }