Boss
    Classes relating to the boss bars that appear at the top of the player's screen.
Classes:
| Name | Description | 
|---|---|
| BarColor |  | 
| BarFlag |  | 
| BarStyle |  | 
| BossBar | Represents a boss bar that is displayed to players. | 
    
    
    
              Bases: Enum
Attributes:
| Name | Type | Description | 
|---|---|---|
| SEGMENTED_10 |  | |
| SEGMENTED_12 |  | |
| SEGMENTED_20 |  | |
| SEGMENTED_6 |  | |
| SOLID |  | 
    Represents a boss bar that is displayed to players.
Methods:
| Name | Description | 
|---|---|
| add_flag | Adds an optional flag to this boss bar. | 
| add_player | Adds the player to this boss bar causing it to display on their screen. | 
| has_flag | Checks whether this boss bar has the passed flag set. | 
| remove_all | Removes all players from this boss bar. | 
| remove_flag | Removes an existing flag on this boss bar. | 
| remove_player | Removes the player from this boss bar causing it to be removed from their screen. | 
Attributes:
| Name | Type | Description | 
|---|---|---|
| color | BarColor | The color of this boss bar. | 
| is_visible | bool | If the boss bar is displayed to attached players. | 
| players | list[Player] | Returns all players viewing this boss bar. | 
| progress | float | The progress of the bar between 0.0 and 1.0. | 
| style | BarStyle | The style of this boss bar. | 
| title | str | The title of this boss bar. |