draw HUDBar
open fun drawHUDBar(viewport: ViewportAPI, rootLoc: Vector2f, barLoc: Vector2f, displayAdditionalInfo: Boolean, longestNameWidth: Float)
Draws the subsystem info on the HUD.
Parameters
viewport
viewport to draw to
root Loc
root location of subsystem info
bar Loc
location to draw (top left)
display Additional Info
display additional subsystem info (hotkey, brief)
longest Name Width
longest name width of all subsystems on the ship, for making the UI look uniform