Ejemplo n.º 1
0
        private void m_BFSButton_Click(object sender, EventArgs e)
        {
            GenerateGraph();
            List <int> path = m_graph.CalculateBFS(m_startPosX + 64 * m_startPosY, m_endPosX + 64 * m_endPosY);

            PaintPath(path);
            m_panel.Refresh();
        }