Barotrauma Client Doc
Barotrauma.TestGameMode Class Reference
Inheritance diagram for Barotrauma.TestGameMode:
Barotrauma.GameMode

Public Member Functions

 TestGameMode (GameModePreset preset)
 
override void Start ()
 
override void AddToGUIUpdateList ()
 
override void End (CampaignMode.TransitionType transitionType=CampaignMode.TransitionType.None)
 
override void Update (float deltaTime)
 
- Public Member Functions inherited from Barotrauma.GameMode
virtual void UpdateWhilePaused (float deltaTime)
 
 GameMode (GameModePreset preset)
 
virtual void ShowStartMessage ()
 
virtual void AddExtraMissions (LevelData levelData)
 
virtual void Remove ()
 
virtual void HUDScaleChanged ()
 
virtual void Draw (SpriteBatch spriteBatch)
 

Public Attributes

Action OnRoundEnd
 
bool SpawnOutpost
 
OutpostGenerationParams OutpostParams
 
LocationType OutpostType
 
EventPrefab TriggeredEvent
 

Additional Inherited Members

- Static Public Attributes inherited from Barotrauma.GameMode
static List< GameModePresetPresetList = new List<GameModePreset>()
 
- Protected Attributes inherited from Barotrauma.GameMode
DateTime startTime
 
GameModePreset preset
 
- Properties inherited from Barotrauma.GameMode
CrewManagerCrewManager [get]
 
virtual IEnumerable< MissionMissions [get]
 
bool IsSinglePlayer [get]
 
LocalizedString Name [get]
 
virtual bool Paused [get]
 
GameModePreset Preset [get]
 

Detailed Description

Definition at line 10 of file TestGameMode.cs.

Constructor & Destructor Documentation

◆ TestGameMode()

Barotrauma.TestGameMode.TestGameMode ( GameModePreset  preset)

Definition at line 25 of file TestGameMode.cs.

Member Function Documentation

◆ AddToGUIUpdateList()

override void Barotrauma.TestGameMode.AddToGUIUpdateList ( )
virtual

Reimplemented from Barotrauma.GameMode.

Definition at line 69 of file TestGameMode.cs.

◆ End()

override void Barotrauma.TestGameMode.End ( CampaignMode.TransitionType  transitionType = CampaignMode.TransitionType.None)
virtual

Reimplemented from Barotrauma.GameMode.

Definition at line 75 of file TestGameMode.cs.

◆ Start()

override void Barotrauma.TestGameMode.Start ( )
virtual

Reimplemented from Barotrauma.GameMode.

Definition at line 37 of file TestGameMode.cs.

◆ Update()

override void Barotrauma.TestGameMode.Update ( float  deltaTime)
virtual

Reimplemented from Barotrauma.GameMode.

Definition at line 81 of file TestGameMode.cs.

Member Data Documentation

◆ OnRoundEnd

Action Barotrauma.TestGameMode.OnRoundEnd

Definition at line 12 of file TestGameMode.cs.

◆ OutpostParams

OutpostGenerationParams Barotrauma.TestGameMode.OutpostParams

Definition at line 16 of file TestGameMode.cs.

◆ OutpostType

LocationType Barotrauma.TestGameMode.OutpostType

Definition at line 17 of file TestGameMode.cs.

◆ SpawnOutpost

bool Barotrauma.TestGameMode.SpawnOutpost

Definition at line 14 of file TestGameMode.cs.

◆ TriggeredEvent

EventPrefab Barotrauma.TestGameMode.TriggeredEvent

Definition at line 19 of file TestGameMode.cs.