Namespace: CreepyTowers.Tests.Triggers
Assembly: CreepyTowers.Tests (in CreepyTowers.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: CreepyTowers.Tests (in CreepyTowers.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[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