Barotrauma Client Doc
Barotrauma.WaitForSeconds Class Reference
Inheritance diagram for Barotrauma.WaitForSeconds:
Barotrauma.CoroutineStatus

Public Member Functions

 WaitForSeconds (float time, bool ignorePause=true)
 
override bool CheckFinished (float deltaTime)
 
override bool EndsCoroutine (CoroutineHandle handle)
 

Public Attributes

readonly float TotalTime
 

Additional Inherited Members

- Properties inherited from Barotrauma.CoroutineStatus
static CoroutineStatus Running [get]
 
static CoroutineStatus Success [get]
 
static CoroutineStatus Failure [get]
 

Detailed Description

Definition at line 65 of file CoroutineManager.cs.

Constructor & Destructor Documentation

◆ WaitForSeconds()

Barotrauma.WaitForSeconds.WaitForSeconds ( float  time,
bool  ignorePause = true 
)

Definition at line 72 of file CoroutineManager.cs.

Member Function Documentation

◆ CheckFinished()

override bool Barotrauma.WaitForSeconds.CheckFinished ( float  deltaTime)
virtual

Implements Barotrauma.CoroutineStatus.

Definition at line 79 of file CoroutineManager.cs.

◆ EndsCoroutine()

override bool Barotrauma.WaitForSeconds.EndsCoroutine ( CoroutineHandle  handle)
virtual

Implements Barotrauma.CoroutineStatus.

Definition at line 92 of file CoroutineManager.cs.

Member Data Documentation

◆ TotalTime

readonly float Barotrauma.WaitForSeconds.TotalTime

Definition at line 67 of file CoroutineManager.cs.