Namespace: CreepyTowers.Tests.Creeps
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, Ignore] public void NextCreepIsSpawnedOnlyAfterCreepSpawnTimeInterval() { if (!IsMockResolver) return; var waveA = new CreepWave(1.0f, 1.0f, "Paper, Paper", "PaperWave"); new WaveGenerator(new List<CreepWave> { waveA }, Vector3D.One); AdvanceTimeAndUpdateEntities(1.01f); Assert.AreEqual(1, EntitiesRunner.Current.GetEntitiesOfType<Creep>().Count); AdvanceTimeAndUpdateEntities(0.1f); Assert.AreEqual(1, EntitiesRunner.Current.GetEntitiesOfType<Creep>().Count); }
See Also