Barotrauma Client Doc
Barotrauma.GameMode Class Reference
Inheritance diagram for Barotrauma.GameMode:
Barotrauma.CampaignMode Barotrauma.CampaignMode Barotrauma.MissionMode Barotrauma.MissionMode Barotrauma.TestGameMode Barotrauma.TutorialMode Barotrauma.MultiPlayerCampaign Barotrauma.MultiPlayerCampaign Barotrauma.SinglePlayerCampaign Barotrauma.MultiPlayerCampaign Barotrauma.MultiPlayerCampaign Barotrauma.SinglePlayerCampaign Barotrauma.CoOpMode Barotrauma.PvPMode Barotrauma.CoOpMode Barotrauma.PvPMode

Public Member Functions

virtual void UpdateWhilePaused (float deltaTime)
 
 GameMode (GameModePreset preset)
 
virtual void Start ()
 
virtual void ShowStartMessage ()
 
virtual void AddExtraMissions (LevelData levelData)
 
virtual void AddToGUIUpdateList ()
 
virtual void Update (float deltaTime)
 
virtual void End (CampaignMode.TransitionType transitionType=CampaignMode.TransitionType.None)
 
virtual void Remove ()
 
virtual void HUDScaleChanged ()
 
virtual void Draw (SpriteBatch spriteBatch)
 

Static Public Attributes

static List< GameModePresetPresetList = new List<GameModePreset>()
 

Protected Attributes

DateTime startTime
 
GameModePreset preset
 

Properties

CrewManagerCrewManager [get]
 
virtual IEnumerable< MissionMissions [get]
 
bool IsSinglePlayer [get]
 
LocalizedString Name [get]
 
virtual bool Paused [get]
 
GameModePreset Preset [get]
 

Detailed Description

Constructor & Destructor Documentation

◆ GameMode()

Barotrauma.GameMode.GameMode ( GameModePreset  preset)

Member Function Documentation

◆ AddExtraMissions()

virtual void Barotrauma.GameMode.AddExtraMissions ( LevelData  levelData)
virtual

◆ AddToGUIUpdateList()

virtual void Barotrauma.GameMode.AddToGUIUpdateList ( )
virtual

◆ Draw()

virtual void Barotrauma.GameMode.Draw ( SpriteBatch  spriteBatch)
virtual

◆ End()

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

◆ HUDScaleChanged()

virtual void Barotrauma.GameMode.HUDScaleChanged ( )
virtual

◆ Remove()

virtual void Barotrauma.GameMode.Remove ( )
virtual

◆ ShowStartMessage()

virtual void Barotrauma.GameMode.ShowStartMessage ( )
virtual

◆ Start()

◆ Update()

virtual void Barotrauma.GameMode.Update ( float  deltaTime)
virtual

◆ UpdateWhilePaused()

virtual void Barotrauma.GameMode.UpdateWhilePaused ( float  deltaTime)
virtual

Member Data Documentation

◆ preset

GameModePreset Barotrauma.GameMode.preset
protected

◆ PresetList

List<GameModePreset> Barotrauma.GameMode.PresetList = new List<GameModePreset>()
static

◆ startTime

DateTime Barotrauma.GameMode.startTime
protected

Property Documentation

◆ CrewManager

CrewManager? Barotrauma.GameMode.CrewManager
get

◆ IsSinglePlayer

bool Barotrauma.GameMode.IsSinglePlayer
get

◆ Missions

virtual IEnumerable<Mission> Barotrauma.GameMode.Missions
get

◆ Name

LocalizedString Barotrauma.GameMode.Name
get

◆ Paused

virtual bool Barotrauma.GameMode.Paused
get

◆ Preset

GameModePreset Barotrauma.GameMode.Preset
get