MrGravity.LevelInfo.SetStar C# (CSharp) Method

SetStar() public method

public SetStar ( StarTypes starType, int value ) : void
starType StarTypes
value int
return void
        public void SetStar(StarTypes starType, int value)
        {
            if (starType == StarTypes.Collection)
                CollectStar = value;
            else if (starType == StarTypes.Death)
                DeathStar = value;
            else
                TimerStar = value;
        }