MrGravity.LevelInfo.GetGoal C# (CSharp) Method

GetGoal() public method

Gets the goal.
public GetGoal ( StarTypes starType ) : int
starType StarTypes Type of the star.
return int
        public int GetGoal(StarTypes starType)
        {
            if (starType == StarTypes.Collection)
                return _mGoalCollectable;
            if (starType == StarTypes.Death)
                return 0;
            return _mGoalTime;
        }