Namespace: DeltaEngine.GameLogic.PathFinding
Assembly: DeltaEngine.GameLogic.PathFinding (in DeltaEngine.GameLogic.PathFinding.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.GameLogic.PathFinding.Tests.LevelGraphTests
1 unit tests call DeltaEngine.GameLogic.PathFinding.LevelGraph.SetReachableAndUpdate(System.Int32)
Assembly: DeltaEngine.GameLogic.PathFinding (in DeltaEngine.GameLogic.PathFinding.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Parameters
- index
- Type: System Int32
Remarks
Examples
[Test] public void MakingNodeReachableEnablesAllConnections() { const int Index = 0; grid3X2.SetUnreachableAndUpdate(Index); Assert.IsFalse(grid3X2.AdjacentLinks[1][Index].IsActive); grid3X2.SetReachableAndUpdate(Index); Assert.IsTrue(grid3X2.AdjacentLinks[1][Index].IsActive); }
See Also