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 DisplayCreepWalkingViaPathfinding() { var creep = new Creep(CreepType.Cloth, gameLevel.SpawnPoints[0]); var path = gameLevel.GetPath(gameLevel.SpawnPoints[0], gameLevel.GoalPoints[0]).GetListOfCoordinates(); creep.Path = path.Select(element => element + Vector2D.Half).ToList(); }
See Also