示例#1
0
        public MapLoader(List <string> lines, bool orthogonal, IGridNodeFactory nodeFactory)
        {
            _orthogonal  = orthogonal;
            _nodeFactory = nodeFactory;

            lines.Reverse();
            LoadGraph(lines);
        }
示例#2
0
 public MapLoader(Stream fileStream, bool orthogonal, IGridNodeFactory nodeFactory)
     : this(LoadLines(fileStream), orthogonal, nodeFactory)
 {
 }