AStarTest.MapControl.AStarDebugCallback C# (CSharp) Method

AStarDebugCallback() private method

private AStarDebugCallback ( AStarNode>.IDictionary nodes ) : void
nodes AStarNode>.IDictionary
return void
        void AStarDebugCallback(IDictionary<IntVector3, AStarNode> nodes)
        {
            if (!this.Step)
                return;

            Dispatcher.Invoke(new Action(delegate
            {
                m_nodes = nodes;
                InvalidateTileData();
                UpdateLayout();
            }));

            m_contEvent.WaitOne();
        }