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

            return(FindPaths(map, start, finish));
        }