Barotrauma Client Doc
Barotrauma.Screen Class Reference
Inheritance diagram for Barotrauma.Screen:
Barotrauma.CampaignEndScreen Barotrauma.EditorScreen Barotrauma.GameScreen Barotrauma.GameScreen Barotrauma.MainMenuScreen Barotrauma.ModDownloadScreen Barotrauma.NetLobbyScreen Barotrauma.NetLobbyScreen Barotrauma.RoundSummaryScreen Barotrauma.ServerListScreen

Public Member Functions

virtual void Deselect ()
 
virtual void Select ()
 
virtual void Update (double deltaTime)
 
virtual void AddToGUIUpdateList ()
 By default, creates a new frame for the screen and adds all elements to the gui update list. More...
 
virtual void Draw (double deltaTime, GraphicsDevice graphics, SpriteBatch spriteBatch)
 
void ColorFade (Color from, Color to, float duration)
 
virtual void OnFileDropped (string filePath, string extension)
 
virtual void Release ()
 

Static Public Member Functions

static void SelectNull ()
 

Properties

static Screen Selected [get]
 
virtual Camera Cam [get]
 
virtual bool IsEditor [get]
 
GUIFrame Frame [get]
 

Detailed Description

Member Function Documentation

◆ AddToGUIUpdateList()

virtual void Barotrauma.Screen.AddToGUIUpdateList ( )
virtual

◆ ColorFade()

void Barotrauma.Screen.ColorFade ( Color  from,
Color  to,
float  duration 
)

◆ Deselect()

◆ Draw()

◆ OnFileDropped()

virtual void Barotrauma.Screen.OnFileDropped ( string  filePath,
string  extension 
)
virtual

Reimplemented in Barotrauma.SubEditorScreen.

Definition at line 67 of file BarotraumaClient/ClientSource/Screens/Screen.cs.

◆ Release()

virtual void Barotrauma.Screen.Release ( )
virtual

◆ Select()

◆ SelectNull()

static void Barotrauma.Screen.SelectNull ( )
static

◆ Update()

Property Documentation

◆ Cam

virtual Camera Barotrauma.Screen.Cam
get

◆ Frame

GUIFrame Barotrauma.Screen.Frame
get

◆ IsEditor

virtual bool Barotrauma.Screen.IsEditor
get

◆ Selected

Screen Barotrauma.Screen.Selected
staticget