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 CheckDirectionOfCreepWithoutPath() { var grid = new Grid3D(new Size(10, 10)); grid.RenderLayer = -10; var creep = new Creep(CreepType.Cloth, Vector2D.Zero); AdvanceTimeAndUpdateEntities(5.0f); Assert.AreEqual(Vector3D.Zero, creep.Direction); }
See Also