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] public void DisplayCreepFollowingPreDefinedPath() { camera.ZoomLevel = 1 / 40.0f; var grid = new Grid3D(new Size(10, 10)); grid.RenderLayer = -10; var creep = new Creep(CreepType.Cloth, Vector2D.Zero); creep.RenderModel(); creep.FinalTarget = new Vector2D(2, 2); creep.Path = new List<Vector2D> { new Vector2D(4, 0), new Vector2D(4, 9), new Vector2D(2, 9), new Vector2D(2, 2) }; }
See Also