|
Drag[en]gine Script Module DragonScript 1.32.1
|
Counter for keeping track of preloading progress. More...
Public Member Functions | |
| void | decrease () |
| Decrement counter by one. | |
| void | decreaseBy (int count) |
| Decrement counter by amount. | |
| PreloadCounter | getParent () |
| Parent counter or null. | |
| int | getValue () |
| Counter value. | |
| void | increase () |
| Increment counter by one. | |
| void | increaseBy (int count) |
| Increment counter by amount. | |
| bool | isNotZero () |
| Counter has not yet reach zero. | |
| bool | isZero () |
| Counter reached zero. | |
| PreloadCounter | new () |
| Create preload counter. | |
| void | reset () |
| Reset counter to 0. | |
| void | setParent (PreloadCounter counter) |
| Set parent counter or null. | |
Counter for keeping track of preloading progress.
If a parent counter is set the parent counter is decremented too each time this counter is decremented. Allows to monitor preload progress using a single parent preload counter while being still able to monitor individual progress.
| void Dragengine.Preloading.PreloadCounter.decrease | ( | ) |
Decrement counter by one.
| void Dragengine.Preloading.PreloadCounter.decreaseBy | ( | int | count | ) |
Decrement counter by amount.
| PreloadCounter Dragengine.Preloading.PreloadCounter.getParent | ( | ) |
Parent counter or null.
| int Dragengine.Preloading.PreloadCounter.getValue | ( | ) |
Counter value.
| void Dragengine.Preloading.PreloadCounter.increase | ( | ) |
Increment counter by one.
| void Dragengine.Preloading.PreloadCounter.increaseBy | ( | int | count | ) |
Increment counter by amount.
| bool Dragengine.Preloading.PreloadCounter.isNotZero | ( | ) |
Counter has not yet reach zero.
| bool Dragengine.Preloading.PreloadCounter.isZero | ( | ) |
Counter reached zero.
| PreloadCounter Dragengine.Preloading.PreloadCounter.new | ( | ) |
Create preload counter.
| void Dragengine.Preloading.PreloadCounter.reset | ( | ) |
Reset counter to 0.
| void Dragengine.Preloading.PreloadCounter.setParent | ( | PreloadCounter | counter | ) |
Set parent counter or null.