Barotrauma Server Doc
Barotrauma.GameScreen Class Reference
Inheritance diagram for Barotrauma.GameScreen:
Barotrauma.Screen

Public Member Functions

 GameScreen ()
 
override void Select ()
 
override void Deselect ()
 
override void Update (double deltaTime)
 Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio. More...
 

Properties

override Camera Cam [get]
 
double GameTime [get]
 
- Properties inherited from Barotrauma.Screen
static Screen Selected [get]
 
virtual Camera Cam [get]
 
virtual bool IsEditor [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from Barotrauma.Screen
static void SelectNull ()
 

Detailed Description

Definition at line 13 of file GameScreen.cs.

Constructor & Destructor Documentation

◆ GameScreen()

Barotrauma.GameScreen.GameScreen ( )

Definition at line 38 of file GameScreen.cs.

Member Function Documentation

◆ Deselect()

override void Barotrauma.GameScreen.Deselect ( )
virtual

Reimplemented from Barotrauma.Screen.

Definition at line 76 of file GameScreen.cs.

◆ Select()

override void Barotrauma.GameScreen.Select ( )
virtual

Reimplemented from Barotrauma.Screen.

Definition at line 46 of file GameScreen.cs.

◆ Update()

override void Barotrauma.GameScreen.Update ( double  deltaTime)
virtual

Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.

Reimplemented from Barotrauma.Screen.

Definition at line 99 of file GameScreen.cs.

Property Documentation

◆ Cam

override Camera Barotrauma.GameScreen.Cam
get

Definition at line 26 of file GameScreen.cs.

◆ GameTime

double Barotrauma.GameScreen.GameTime
get

Definition at line 32 of file GameScreen.cs.