public MapLoader(List <string> lines, bool orthogonal, IGridNodeFactory nodeFactory) { _orthogonal = orthogonal; _nodeFactory = nodeFactory; lines.Reverse(); LoadGraph(lines); }
public MapLoader(Stream fileStream, bool orthogonal, IGridNodeFactory nodeFactory) : this(LoadLines(fileStream), orthogonal, nodeFactory) { }