static public void GenerateFloorplan(Floormap inMap, Room startingRoom, string path = "map.txt")
            {
                Dictionary <Point, Room> roomMatrix = new Dictionary <Point, Room>();

                if (!File.Exists(path))
                {
                    File.Create(path);
                }
                Floormap map         = new Floormap(inMap);
                Room     currentNode = startingRoom;

                while (map.roomList.Count != 0)
                {
                    // roomMatrix.Join(Traverse)
                }
            }
        static void Main(string[] args)
        {
            Parser parser = new Parser();

            var report0 = new Command("report", 0, "Report");

            parser.AddCommand(report0);

            var report1 = new Command("report", 1, "Report");

            parser.AddCommand(report1);

            parser.AddCommand(new Command("report", 2, "Report"));

            parser.AddCommand(new Command("go", 1, "Go"));
            parser.AddCommand(new Command("look", 0, "Look"));

            Pawn.playerPawn = new Pawn("player");
            Pawn.playerPawn.AddToInventory(new Container("box", false, false));

            Floormap level = new Floormap();

            Room      testroom = level.AddRoom(new Room("testroom"));
            Container box      = testroom.contents.Insert(new Container("box", false, false));

            box.PutIn(new Thing("ball"));

            Pawn.playerPawn.Move(testroom);

            Room westroom = level.AddRoom(new Room("westroom"));

            westroom.verboseDescription = "west room reached";

            new Door("west door", testroom, westroom, "west");

            Pawn.playerPawn.Look();

            parser.GetInput();


            Console.ReadLine();
        }
 public Floormap(Floormap floormap)
 {
     roomList = floormap.roomList;
 }