Drag[en]gine Script Module DragonScript
1.23
|
Counter for keeping track of preloading progress. More...
Public Member Functions | |
void | decrease () |
Decrement counter by one. More... | |
void | decreaseBy (int count) |
Decrement counter by amount. More... | |
PreloadCounter | getParent () |
Parent counter or null. More... | |
int | getValue () |
Counter value. More... | |
void | increase () |
Increment counter by one. More... | |
void | increaseBy (int count) |
Increment counter by amount. More... | |
bool | isNotZero () |
Counter has not yet reach zero. More... | |
bool | isZero () |
Counter reached zero. More... | |
PreloadCounter | new () |
Create preload counter. More... | |
void | reset () |
Reset counter to 0. More... | |
void | setParent (PreloadCounter counter) |
Set parent counter or null. More... | |
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.