Space Engineers
Public Member Functions | List of all members
Sandbox.Game.Gui.MyHudWarningGroup Class Reference

This class represents HUD warning group. Only 1 warning can be signalized, from this group. More...

Public Member Functions

 MyHudWarningGroup (List< MyHudWarning > hudWarnings, bool canBeTurnedOff)
 Creates new instance of HUD warning group More...
 
void Update ()
 Call it in each update. More...
 
void Add (MyHudWarning hudWarning)
 Adds new HUD warning to this group More...
 
void Remove (MyHudWarning hudWarning)
 Removes HUD warning from this group More...
 
void Clear ()
 Removes all HUD warnings from this group More...
 

Detailed Description

This class represents HUD warning group. Only 1 warning can be signalized, from this group.

Definition at line 137 of file MyHudWarning.cs.

Constructor & Destructor Documentation

Sandbox.Game.Gui.MyHudWarningGroup.MyHudWarningGroup ( List< MyHudWarning hudWarnings,
bool  canBeTurnedOff 
)
inline

Creates new instance of HUD warning group

Parameters
hudWarnings

Definition at line 148 of file MyHudWarning.cs.

Member Function Documentation

void Sandbox.Game.Gui.MyHudWarningGroup.Add ( MyHudWarning  hudWarning)
inline

Adds new HUD warning to this group

Parameters
hudWarningHUD warning to add

Definition at line 194 of file MyHudWarning.cs.

void Sandbox.Game.Gui.MyHudWarningGroup.Clear ( )
inline

Removes all HUD warnings from this group

Definition at line 219 of file MyHudWarning.cs.

void Sandbox.Game.Gui.MyHudWarningGroup.Remove ( MyHudWarning  hudWarning)
inline

Removes HUD warning from this group

Parameters
hudWarningHUD warning to remove

Definition at line 211 of file MyHudWarning.cs.

void Sandbox.Game.Gui.MyHudWarningGroup.Update ( )
inline

Call it in each update.

Definition at line 175 of file MyHudWarning.cs.


The documentation for this class was generated from the following file: