763 B
763 B
Progressbars are objects to visually display the current state of your progression. They always go from 0 to 100 (%) - no matter how big they are. which means if you want to add some energy progress you have to do simple maths: currentValue / maxValue * 100
Object methods also apply for progressbars.
| setDirection | Sets the progress direction |
| setProgress | Sets the current progress |
| getProgress | Returns the current progress |
| setProgressBar | Changes the progress design |
| setBackgroundSymbol | Sets the background symbol |