Barotrauma Client Doc
Barotrauma.LevelEditorScreen Class Reference
Inheritance diagram for Barotrauma.LevelEditorScreen:
Barotrauma.EditorScreen Barotrauma.Screen

Public Member Functions

 LevelEditorScreen ()
 
void TestLevelGenerationForErrors (int amountOfLevelsToGenerate)
 
override void Select ()
 
override void AddToGUIUpdateList ()
 By default, creates a new frame for the screen and adds all elements to the gui update list. More...
 
override void Draw (double deltaTime, GraphicsDevice graphics, SpriteBatch spriteBatch)
 
override void Update (double deltaTime)
 
- Public Member Functions inherited from Barotrauma.EditorScreen
override sealed void Deselect ()
 
void CreateBackgroundColorPicker ()
 
- Public Member Functions inherited from Barotrauma.Screen
void ColorFade (Color from, Color to, float duration)
 
virtual void OnFileDropped (string filePath, string extension)
 
virtual void Release ()
 

Protected Member Functions

override void DeselectEditorSpecific ()
 

Properties

override Camera Cam [get]
 
- Properties inherited from Barotrauma.EditorScreen
override bool IsEditor [get]
 
- Properties inherited from Barotrauma.Screen
static Screen Selected [get]
 
virtual Camera Cam [get]
 
virtual bool IsEditor [get]
 
GUIFrame Frame [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from Barotrauma.Screen
static void SelectNull ()
 
- Static Public Attributes inherited from Barotrauma.EditorScreen
static Color BackgroundColor = GameSettings.CurrentConfig.SubEditorBackground
 

Detailed Description

Definition at line 19 of file LevelEditorScreen.cs.

Constructor & Destructor Documentation

◆ LevelEditorScreen()

Barotrauma.LevelEditorScreen.LevelEditorScreen ( )

Definition at line 47 of file LevelEditorScreen.cs.

Member Function Documentation

◆ AddToGUIUpdateList()

override void Barotrauma.LevelEditorScreen.AddToGUIUpdateList ( )
virtual

By default, creates a new frame for the screen and adds all elements to the gui update list.

Reimplemented from Barotrauma.Screen.

Definition at line 811 of file LevelEditorScreen.cs.

◆ DeselectEditorSpecific()

override void Barotrauma.LevelEditorScreen.DeselectEditorSpecific ( )
protectedvirtual

Reimplemented from Barotrauma.EditorScreen.

Definition at line 392 of file LevelEditorScreen.cs.

◆ Draw()

override void Barotrauma.LevelEditorScreen.Draw ( double  deltaTime,
GraphicsDevice  graphics,
SpriteBatch  spriteBatch 
)
virtual

Reimplemented from Barotrauma.Screen.

Definition at line 826 of file LevelEditorScreen.cs.

◆ Select()

override void Barotrauma.LevelEditorScreen.Select ( )
virtual

Reimplemented from Barotrauma.Screen.

Definition at line 374 of file LevelEditorScreen.cs.

◆ TestLevelGenerationForErrors()

void Barotrauma.LevelEditorScreen.TestLevelGenerationForErrors ( int  amountOfLevelsToGenerate)

Definition at line 328 of file LevelEditorScreen.cs.

◆ Update()

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

Reimplemented from Barotrauma.Screen.

Definition at line 964 of file LevelEditorScreen.cs.

Property Documentation

◆ Cam

override Camera Barotrauma.LevelEditorScreen.Cam
get

Definition at line 21 of file LevelEditorScreen.cs.