Barotrauma Client Doc
Barotrauma.DummyFireSource Class Reference
Inheritance diagram for Barotrauma.DummyFireSource:
Barotrauma.FireSource Barotrauma.ISpatialEntity

Public Member Functions

 DummyFireSource (Vector2 maxSize, Vector2 worldPosition, Hull spawningHull=null, bool isNetworkMessage=false)
 
- Public Member Functions inherited from Barotrauma.FireSource
 FireSource (Vector2 worldPosition, Hull spawningHull=null, Character sourceCharacter=null, bool isNetworkMessage=false)
 
void Update (float deltaTime)
 
bool IsInDamageRange (Character c, float damageRange)
 
bool IsInDamageRange (Vector2 worldPosition, float damageRange)
 
void Extinguish (float deltaTime, float amount)
 
void Extinguish (float deltaTime, float amount, Vector2 worldPosition)
 
void Remove ()
 
void EmitParticles (Vector2 size, Vector2 worldPosition, float deltaTime, Hull hull, float growModifier, Particle.OnChangeHullHandler onChangeHull=null)
 

Public Attributes

bool CausedByPsychosis
 
- Public Attributes inherited from Barotrauma.FireSource
readonly Character SourceCharacter
 Which character caused this fire (if any)? More...
 

Protected Member Functions

override void LimitSize ()
 
override void AdjustXPos (float growModifier, float deltaTime)
 
override void ReduceOxygen (float deltaTime)
 

Properties

override float DamageRange [get]
 
- Properties inherited from Barotrauma.FireSource
Submarine Submarine [get]
 
Vector2 Position [get, set]
 
Vector2? WorldPosition [get]
 
Vector2 SimPosition [get]
 
Vector2 Size [get, set]
 
virtual float DamageRange [get]
 
bool DamagesItems = true [get, set]
 
bool DamagesCharacters = true [get, set]
 
bool Removed [get]
 
Hull Hull [get]
 
- Properties inherited from Barotrauma.ISpatialEntity
Vector2 Position [get]
 
Vector2 WorldPosition [get]
 
Vector2 SimPosition [get]
 
Submarine Submarine [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from Barotrauma.FireSource
static void UpdateAll (List< FireSource > fireSources, float deltaTime)
 
static void UpdateAll (List< DummyFireSource > fireSources, float deltaTime)
 
- Protected Attributes inherited from Barotrauma.FireSource
Hull hull
 
Vector2 position
 
Vector2 size
 
bool removed
 

Detailed Description

Definition at line 6 of file DummyFireSource.cs.

Constructor & Destructor Documentation

◆ DummyFireSource()

Barotrauma.DummyFireSource.DummyFireSource ( Vector2  maxSize,
Vector2  worldPosition,
Hull  spawningHull = null,
bool  isNetworkMessage = false 
)

Definition at line 12 of file DummyFireSource.cs.

Member Function Documentation

◆ AdjustXPos()

override void Barotrauma.DummyFireSource.AdjustXPos ( float  growModifier,
float  deltaTime 
)
protectedvirtual

Reimplemented from Barotrauma.FireSource.

Definition at line 32 of file DummyFireSource.cs.

◆ LimitSize()

override void Barotrauma.DummyFireSource.LimitSize ( )
protectedvirtual

Reimplemented from Barotrauma.FireSource.

Definition at line 25 of file DummyFireSource.cs.

◆ ReduceOxygen()

override void Barotrauma.DummyFireSource.ReduceOxygen ( float  deltaTime)
protectedvirtual

Reimplemented from Barotrauma.FireSource.

Definition at line 37 of file DummyFireSource.cs.

Member Data Documentation

◆ CausedByPsychosis

bool Barotrauma.DummyFireSource.CausedByPsychosis

Definition at line 10 of file DummyFireSource.cs.

Property Documentation

◆ DamageRange

override float Barotrauma.DummyFireSource.DamageRange
get

Definition at line 20 of file DummyFireSource.cs.