StartTimer StartingTime Property Delta Engine Documentation

Namespace: CreepyTowers.Triggers
Assembly: CreepyTowers (in CreepyTowers.exe) Version: 1.1.1.0 (1.1.1)
Syntax

public int StartingTime { get; }

Property Value

Type: Int32
Remarks

Tests: CreepyTowers.Tests.Triggers.StartTimerTests
Examples

1 unit tests call CreepyTowers.Triggers.StartTimer.StartingTime
[Test, CloseAfterFirstFrame]
public void TestStartTimer()
{
    var trigger = new StartTimer("90");
    Assert.AreEqual(90, trigger.StartingTime);
    var player = new Player();
    GameTrigger.OnGameStarting();
    Assert.AreEqual(trigger.StartingTime, player.Time);
    GameTrigger.OnUpdateEverySecond();
}
See Also