示例#1
0
文件: Level.cs 项目: prefie/Met-Mah
 public Level(string map, int numberPlayer)
 {
     Map              = MapCreator.CreateMap(map, numberPlayer);
     Width            = Map.GetLength(0);
     Height           = Map.GetLength(1);
     TextInitiallyMap = map;
     CountBeer        = DeemBeer();
 }
示例#2
0
文件: Bfs.cs 项目: prefie/Met-Mah
        public static SinglyLinkedList <Point> FindPaths(string textMap, Point start, Point finish)
        {
            var map = MapCreator.CreateMap(textMap, 0);

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