Files
Basalt/docs/docs1_6/objects/Progressbar.md
Robert Jelic d4c72514ef Docs 1.6
Accidentally uploaded outdated 1.6 docs
2023-05-01 16:28:46 +02:00

21 lines
927 B
Markdown

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](objects/Object.md) methods also apply for progressbars.
| | |
|---|---|
|[setDirection](objects/Progressbar/setDirection.md)|Sets the progress direction
|[setProgress](objects/Progressbar/setProgress.md)|Sets the current progress
|[getProgress](objects/Progressbar/getProgress.md)|Returns the current progress
|[setProgressBar](objects/Progressbar/setProgressBar.md)|Changes the progress design
|[setBackgroundSymbol](objects/Progressbar/setBackgroundSymbol.md)|Sets the background symbol
# Events
This is a list of all available events for progressbars:
| | |
|---|---|
|[onDone](objects/Progressbar/onDone.md)|Fires when a progress has finished