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] public void CreepIsSpawnedAtTheSpawnPoint() { var creepPos = new Vector3D(2.0f, 3.0f, 1.0f); new WaveGenerator(waveList, creepPos); AdvanceTimeAndUpdateEntities(1.1f); Assert.AreEqual(creepPos, EntitiesRunner.Current.GetEntitiesOfType<Creep>()[0].Position); }
See Also