Module game_library::progress_bar
source · Expand description
A 2D progress bar module for easily adding progress bars to your game.
There are two main components in this module, a factory to create a pair of quad meshes than can be used to draw a progress bar, and a component which can be added to an entity to draw the progress bar automatically.
Structs
- The colors used in a progress bar.
- Configuration of a progress bar.
- Plugin for adding a progress bar systems to the game.
Enums
- The states of a progress bar.
Traits
- Trait for accessing the percentage of a value.