Barotrauma Client Doc
Barotrauma.ArtifactEvent Class Reference
Inheritance diagram for Barotrauma.ArtifactEvent:
Barotrauma.Event

Public Member Functions

override string ToString ()
 
 ArtifactEvent (EventPrefab prefab)
 
override void Init (EventSet parentSet)
 
override string GetDebugInfo ()
 
override void Update (float deltaTime)
 
- Public Member Functions inherited from Barotrauma.Event
override string ToString ()
 
 Event (EventPrefab prefab)
 
virtual IEnumerable< ContentFileGetFilesToPreload ()
 
virtual void Finish ()
 
virtual bool LevelMeetsRequirements ()
 

Properties

bool SpawnPending [get]
 
int State [get]
 
Item Item [get]
 
Vector2 SpawnPos [get]
 
override Vector2 DebugDrawPos [get]
 
- Properties inherited from Barotrauma.Event
EventPrefab Prefab [get]
 
EventSet ParentSet [get]
 
bool IsFinished [get]
 
virtual Vector2 DebugDrawPos [get]
 

Additional Inherited Members

- Public Attributes inherited from Barotrauma.Event
int RandomSeed
 
Func< Level.InterestingPosition, bool > SpawnPosFilter
 
- Protected Attributes inherited from Barotrauma.Event
bool isFinished
 
readonly EventPrefab prefab
 
- Events inherited from Barotrauma.Event
Action Finished
 

Detailed Description

Definition at line 5 of file ArtifactEvent.cs.

Constructor & Destructor Documentation

◆ ArtifactEvent()

Barotrauma.ArtifactEvent.ArtifactEvent ( EventPrefab  prefab)

Definition at line 32 of file ArtifactEvent.cs.

Member Function Documentation

◆ GetDebugInfo()

override string Barotrauma.ArtifactEvent.GetDebugInfo ( )
virtual

Reimplemented from Barotrauma.Event.

Definition at line 70 of file ArtifactEvent.cs.

◆ Init()

override void Barotrauma.ArtifactEvent.Init ( EventSet  parentSet)
virtual

Reimplemented from Barotrauma.Event.

Definition at line 58 of file ArtifactEvent.cs.

◆ ToString()

override string Barotrauma.ArtifactEvent.ToString ( )

Definition at line 27 of file ArtifactEvent.cs.

◆ Update()

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

Reimplemented from Barotrauma.Event.

Definition at line 107 of file ArtifactEvent.cs.

Property Documentation

◆ DebugDrawPos

override Vector2 Barotrauma.ArtifactEvent.DebugDrawPos
get

Definition at line 22 of file ArtifactEvent.cs.

◆ Item

Item Barotrauma.ArtifactEvent.Item
get

Definition at line 19 of file ArtifactEvent.cs.

◆ SpawnPending

bool Barotrauma.ArtifactEvent.SpawnPending
get

Definition at line 17 of file ArtifactEvent.cs.

◆ SpawnPos

Vector2 Barotrauma.ArtifactEvent.SpawnPos
get

Definition at line 20 of file ArtifactEvent.cs.

◆ State

int Barotrauma.ArtifactEvent.State
get

Definition at line 18 of file ArtifactEvent.cs.