Interface ICondition
Represents a condition applied to a ProfileElement
Namespace: Artemis.Core
Assembly: Artemis.Core.dll
Syntax
public interface ICondition : IDisposable, IStorageModel
Properties
Entity
Gets the entity used to store this condition
Declaration
IConditionEntity Entity { get; }
Property Value
Type | Description |
---|---|
IConditionEntity |
IsMet
Gets a boolean indicating whether the condition is currently met
Declaration
bool IsMet { get; }
Property Value
Type | Description |
---|---|
bool |
ProfileElement
Gets the profile element this condition applies to
Declaration
RenderProfileElement ProfileElement { get; }
Property Value
Type | Description |
---|---|
RenderProfileElement |
Methods
OverrideTimeline(TimeSpan)
Overrides the timeline to the provided position
as the display condition sees fit.
Declaration
void OverrideTimeline(TimeSpan position)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | position |
Update()
Updates the condition
Declaration
void Update()
UpdateTimeline(double)
Updates the timeline according to the provided deltaTime
as the display condition sees fit.
Declaration
void UpdateTimeline(double deltaTime)
Parameters
Type | Name | Description |
---|---|---|
double | deltaTime |