Barotrauma Client Doc
Barotrauma.CharacterHUD Class Reference

Static Public Member Functions

static bool ShouldDrawInventory (Character character)
 
static LocalizedString GetCachedHudText (string textTag, InputType keyBind)
 
static void AddToGUIUpdateList (Character character)
 
static void Update (float deltaTime, Character character, Camera cam)
 
static void Draw (SpriteBatch spriteBatch, Character character, Camera cam)
 
static bool MouseOnCharacterPortrait ()
 
static void ShowBossHealthBar (Character character, float damage)
 
static void ShowMissionProgressBar (Mission mission)
 
static void ClearBossProgressBars ()
 
static void UpdateBossProgressBars (float deltaTime)
 

Properties

static GUIFrame HUDFrame [get]
 
static bool RecreateHudTexts = true [get, set]
 
static bool IsCampaignInterfaceOpen [get]
 

Detailed Description

Member Function Documentation

◆ AddToGUIUpdateList()

static void Barotrauma.CharacterHUD.AddToGUIUpdateList ( Character  character)
static

◆ ClearBossProgressBars()

static void Barotrauma.CharacterHUD.ClearBossProgressBars ( )
static

◆ Draw()

static void Barotrauma.CharacterHUD.Draw ( SpriteBatch  spriteBatch,
Character  character,
Camera  cam 
)
static

◆ GetCachedHudText()

static LocalizedString Barotrauma.CharacterHUD.GetCachedHudText ( string  textTag,
InputType  keyBind 
)
static

◆ MouseOnCharacterPortrait()

static bool Barotrauma.CharacterHUD.MouseOnCharacterPortrait ( )
static

◆ ShouldDrawInventory()

static bool Barotrauma.CharacterHUD.ShouldDrawInventory ( Character  character)
static

◆ ShowBossHealthBar()

static void Barotrauma.CharacterHUD.ShowBossHealthBar ( Character  character,
float  damage 
)
static

◆ ShowMissionProgressBar()

static void Barotrauma.CharacterHUD.ShowMissionProgressBar ( Mission  mission)
static

◆ Update()

static void Barotrauma.CharacterHUD.Update ( float  deltaTime,
Character  character,
Camera  cam 
)
static

◆ UpdateBossProgressBars()

static void Barotrauma.CharacterHUD.UpdateBossProgressBars ( float  deltaTime)
static

Property Documentation

◆ HUDFrame

GUIFrame Barotrauma.CharacterHUD.HUDFrame
staticget

◆ IsCampaignInterfaceOpen

bool Barotrauma.CharacterHUD.IsCampaignInterfaceOpen
staticget

◆ RecreateHudTexts

bool Barotrauma.CharacterHUD.RecreateHudTexts = true
staticgetset