Class AxisTimerSequence
AxisTimerSequence manages a sequence of timed events with intervals, capable of starting on external triggers or game start, and can loop indefinitely or play through once.
Inherited Members
Namespace: Axis.Logic
Assembly: cs.temp.dll.dll
Syntax
public sealed class AxisTimerSequence : AxisGameObject
Fields
FillAmountImage
Associated image to fillamount proportionally to the total time of this time sequence.
Declaration
public Image FillAmountImage
Field Value
Type | Description |
---|---|
Image |
IsRunning
Wether this sequence is running
Declaration
public bool IsRunning
Field Value
Type | Description |
---|---|
bool |
Loop
When the last item in queue have been executed, should it loop and keep running from first item
Declaration
public bool Loop
Field Value
Type | Description |
---|---|
bool |
Randomness
Settings to randomize intervals between sequence items
Declaration
public AxisTimerSequence_Random Randomness
Field Value
Type | Description |
---|---|
AxisTimerSequence_Random |
Sequence
List of items to execute in sequence
Declaration
public AxisTimerSequence_Item[] Sequence
Field Value
Type | Description |
---|---|
AxisTimerSequence_Item[] |
Properties
CurrentItem
Declaration
public int CurrentItem { get; }
Property Value
Type | Description |
---|---|
int |
CurrentItemDescription
Declaration
public string CurrentItemDescription { get; }
Property Value
Type | Description |
---|---|
string |
Methods
Timer_Pause()
Pause this timer execution
Declaration
public void Timer_Pause()
Timer_Reset()
Reset this timer to beginning
Declaration
public void Timer_Reset()
Timer_Restart()
Declaration
public void Timer_Restart()
Timer_Start()
Resume this timer running
Declaration
public void Timer_Start()