AnodyneSharp.UI.DustIcon.Update C# (CSharp) Method

Update() public method

public Update ( ) : void
return void
        public override void Update()
        {
            base.Update();

            if (_curAnim.name == "full" && (_broom.just_released_dust || _broom.dust == null))
            {
                Play("empty");
            }
            else if (_curAnim.name != "full" && !_broom.just_released_dust && _broom.dust != null)
            {
                Play("full");
            }
        }
    }