Barotrauma Client Doc
Barotrauma.ConditionalSprite Class Reference

Public Member Functions

 ConditionalSprite (ContentXElement element, ISerializableEntity target, string file="", bool lazyLoad=false)
 
void CheckConditionals ()
 
void Remove ()
 

Public Attributes

readonly List< PropertyConditionalconditionals = new List<PropertyConditional>()
 
readonly PropertyConditional.LogicalOperatorType LogicalOperator
 
readonly bool Exclusive
 

Properties

bool IsActive = true [get]
 
ISerializableEntity Target [get]
 
Sprite Sprite [get]
 
DeformableSprite DeformableSprite [get]
 
Sprite ActiveSprite [get]
 

Detailed Description

Constructor & Destructor Documentation

◆ ConditionalSprite()

Barotrauma.ConditionalSprite.ConditionalSprite ( ContentXElement  element,
ISerializableEntity  target,
string  file = "",
bool  lazyLoad = false 
)

Member Function Documentation

◆ CheckConditionals()

void Barotrauma.ConditionalSprite.CheckConditionals ( )

◆ Remove()

void Barotrauma.ConditionalSprite.Remove ( )

Member Data Documentation

◆ conditionals

readonly List<PropertyConditional> Barotrauma.ConditionalSprite.conditionals = new List<PropertyConditional>()

◆ Exclusive

readonly bool Barotrauma.ConditionalSprite.Exclusive

◆ LogicalOperator

readonly PropertyConditional.LogicalOperatorType Barotrauma.ConditionalSprite.LogicalOperator

Property Documentation

◆ ActiveSprite

Sprite Barotrauma.ConditionalSprite.ActiveSprite
get

◆ DeformableSprite

DeformableSprite Barotrauma.ConditionalSprite.DeformableSprite
get

◆ IsActive

bool Barotrauma.ConditionalSprite.IsActive = true
get

◆ Sprite

Sprite Barotrauma.ConditionalSprite.Sprite
get

◆ Target

ISerializableEntity Barotrauma.ConditionalSprite.Target
get