add Bar
Draws a UI bar. The HUD color changes to blue when the ship is dead.
Parameters
Ship concerned (the element will only be drawn if that ship is the player ship)
Filling level
Color of the bar. If null, use the vanilla HUD color.
Color of the border. If null, use the vanilla HUD color.
Like the hard flux of the flux bar. 0 per default.
The position on the Screen.
Draws a UI bar. The HUD color changes to blue when the ship is dead.
Parameters
Ship concerned (the element will only be drawn if that ship is the player ship)
Filling level
Color of the bar. If null, use the vanilla HUD color.
Color of the border. If null, use the vanilla HUD color.
Like the hardflux of the fluxbar. 0 per default.
The position on the Screen.
Height of the drawn box.
Width of the drawn box.
whether to draw the borders of the bar. default is false.