示例#1
0
    public bool WorkOn(float speed, ProgressBar progressBar)
    {
        currTask.LowerPercent(speed);
        progressBar.ChangeColor(CurrTask);
        progressBar.ChangeValue(currTask.percent);

        return(currTask.IsEnded());
    }