Table of Contents

Interface ICondition

Namespace
Artemis.Core
Assembly
Artemis.Core.dll

Represents a condition applied to a ProfileElement

public interface ICondition : IDisposable, IStorageModel, IPluginFeatureDependent
Inherited Members

Properties

Entity

Gets the entity used to store this condition

IConditionEntity Entity { get; }

Property Value

IConditionEntity

IsMet

Gets a boolean indicating whether the condition is currently met

bool IsMet { get; }

Property Value

bool

ProfileElement

Gets the profile element this condition applies to

RenderProfileElement ProfileElement { get; }

Property Value

RenderProfileElement

Methods

OverrideTimeline(TimeSpan)

Overrides the timeline to the provided position as the display condition sees fit.

void OverrideTimeline(TimeSpan position)

Parameters

position TimeSpan

Update()

Updates the condition

void Update()

UpdateTimeline(double)

Updates the timeline according to the provided deltaTime as the display condition sees fit.

void UpdateTimeline(double deltaTime)

Parameters

deltaTime double