SnowMan/AStarSearch.cs
/// <summary>
/// Overwrite method for check Node's presence. For testing purposes.
/// </summary>
Overwrite method for check Node's presence. For testing purposes.
Overwrite method for check Node ' s presence . For testing purposes .
public void Overwrite(){
            for (var row = 1; row < length - 1; row++){
                for (var column = 1; column < length - 1; column++){
                    if (grid[row, column] != null) 
                    {
                        level.SetCharacter('a', row, column);
                        Console.WriteLine("At pos [{0},{1}], cost to endNode is {2}", row, column, grid[row, column].CostEstDistToEndNode);
                    }
                }
            }
        }
public void Overwrite ( ) { for ( var row = 1 ; row < length - 1 ; row ++ ) { for ( var column = 1 ; column < length - 1 ; column ++ ) { if ( grid [ row , column ] != null ) { level . SetCharacter ( ' ' , row , column ) ; Console . WriteLine ( " " , row , column , grid [ row , column ] . CostEstDistToEndNode ) ; } } } }
Overwrite method for check Node's presence.
Overwrite method for check Node ' s presence .