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.SetUnreachableNode(System.Int32)
Assembly: DeltaEngine.GameLogic.PathFinding (in DeltaEngine.GameLogic.PathFinding.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Parameters
- nodeIndex
- Type: System Int32
Remarks
Examples
[Test] public void SetUnreachableNodeAndCheck() { const int Index = 0; grid3X2.SetUnreachableAndUpdate(Index); Assert.IsFalse(grid3X2.AdjacentLinks[1][Index].IsActive); Assert.IsFalse(grid3X2.AdjacentLinks[3][Index].IsActive); Assert.IsTrue(grid3X2.IsUnreachableNode(0)); }
See Also