public MazeNode MergeNode(MazeNode NodeToMerge) { MazeNode Union = new MazeNode(m_Position); Union.AddExitList(m_ExitPoints); Union.AddExitList(NodeToMerge.GetExitList()); return(Union); }