Interface IMyTimerBlock
Inherited Members
Namespace: SpaceEngineers.Game.ModAPI.Ingame
Assembly: SpaceEngineers.Game.dll
Syntax
public interface IMyTimerBlock : IMyFunctionalBlock, IMyTerminalBlock, IMyCubeBlock, IMyEntity
Properties
IsCountingDown
Gets if the timer block is active and counting down
Declaration
bool IsCountingDown { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Silent
Gets or sets if the countdown is silent
Declaration
bool Silent { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
TriggerDelay
Gets or sets the countdown time, in seconds
Declaration
float TriggerDelay { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Methods
StartCountdown()
Begin countdown
Declaration
void StartCountdown()
StopCountdown()
Stops current countdown
Declaration
void StopCountdown()
Trigger()
Trigger immediately, skips countdown
Declaration
void Trigger()