the resolved track colour: background, or the theme's panel fill
the resolved fill colour: the explicit one, or the theme's highlight
the current fill, 0 to 1
Removes all internal references and listeners as well as removes children from the display list.
Do not use a Container after calling destroy.
Optionaloptions: DestroyOptions
Options parameter. A boolean will act as if all options have been set to that value
Recolours the fill at runtime - the other half of what a bar does on screen, beside
setValue: a health bar going red as it empties, a boss bar while it bleeds.
Counts as explicit, exactly as passing color to the constructor does, so a later theme
change cannot throw the game's own colour away.
A filled proportion of a track - a health, mana or experience bar.
Closer to a small, focused primitive than a general-purpose progress-bar widget: it draws a background track and a foreground fill sized to
value / max, and nothing else. Colour follows the theme the wayLabeldoes, unless a game gives one of its own.Example