Barotrauma Client Doc
Barotrauma.EventSprite Class Reference
Inheritance diagram for Barotrauma.EventSprite:
Barotrauma.Prefab

Public Member Functions

 EventSprite (ContentXElement element, RandomEventsFile file)
 
override void Dispose ()
 
- Public Member Functions inherited from Barotrauma.Prefab
 Prefab (ContentFile file, Identifier identifier)
 
 Prefab (ContentFile file, ContentXElement element)
 

Public Attributes

readonly Sprite Sprite
 
- Public Attributes inherited from Barotrauma.Prefab
readonly Identifier Identifier
 
readonly ContentFile ContentFile
 

Static Public Attributes

static readonly PrefabCollection< EventSpritePrefabs = new PrefabCollection<EventSprite>()
 
- Static Public Attributes inherited from Barotrauma.Prefab
static readonly ImmutableHashSet< Type > Types
 

Additional Inherited Members

- Static Public Member Functions inherited from Barotrauma.Prefab
static void DisallowCallFromConstructor ()
 
- Protected Member Functions inherited from Barotrauma.Prefab
virtual Identifier DetermineIdentifier (XElement element)
 
- Properties inherited from Barotrauma.Prefab
ContentPackageContentPackage [get]
 
ContentPath FilePath [get]
 

Detailed Description

Definition at line 11 of file EventSet.cs.

Constructor & Destructor Documentation

◆ EventSprite()

Barotrauma.EventSprite.EventSprite ( ContentXElement  element,
RandomEventsFile  file 
)

Definition at line 17 of file EventSet.cs.

Member Function Documentation

◆ Dispose()

override void Barotrauma.EventSprite.Dispose ( )
virtual

Implements Barotrauma.Prefab.

Definition at line 22 of file EventSet.cs.

Member Data Documentation

◆ Prefabs

readonly PrefabCollection<EventSprite> Barotrauma.EventSprite.Prefabs = new PrefabCollection<EventSprite>()
static

Definition at line 13 of file EventSet.cs.

◆ Sprite

readonly Sprite Barotrauma.EventSprite.Sprite

Definition at line 15 of file EventSet.cs.