public Level(string map, int numberPlayer) { Map = MapCreator.CreateMap(map, numberPlayer); Width = Map.GetLength(0); Height = Map.GetLength(1); TextInitiallyMap = map; CountBeer = DeemBeer(); }
public static SinglyLinkedList <Point> FindPaths(string textMap, Point start, Point finish) { var map = MapCreator.CreateMap(textMap, 0); return(FindPaths(map, start, finish)); }