Namespace: CreepyTowers.Tests
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] public void DisplayCreepWalkingInALevel() { gameLevel.ModelName = "N1C1ChildsRoom"; gameLevel.RenderLevel(); var creep = new Creep(CreepType.Cloth, new Vector2D(9, 5) + Vector2D.Half); creep.Path = new List<Vector2D> { (new Vector2D(9, 12) + Vector2D.Half), (new Vector2D(13, 12) + Vector2D.Half), (new Vector2D(13, 6) + Vector2D.Half), (new Vector2D(9, 6) + Vector2D.Half) }; creep.FinalTarget = creep.Path[creep.Path.Count - 1]; }
See Also