add Interface Status Bar
open fun addInterfaceStatusBar(ship: ShipAPI, boxLoc: Vector2f, fill: Float, innerColor: Color, borderColor: Color, secondfill: Float)
Draws a small UI bar above the flux bar. The HUD color change to blue when the ship is not alive. Bug: When you left the battle, the hud keep for qew second, no solution found. Bug: Also for other normal drawBox, when paused, they switch brutally of "color".
Parameters
ship
Ship concerned (the element will only be drawn if that ship is the player ship)
box Loc
Where to draw the status bar.
fill
Filling level
inner Color
Color of the bar. If null, use the vanilla HUD color.
border Color
Color of the border. If null, use the vanilla HUD color.
secondfill
Like the hardflux of the fluxbar. 0 per default.