Esempio n. 1
0
        public Maze CreateComplexMaze(MazeBuilder builder)
        {
            builder.BuildRoom(1);
            // . . .
            builder.BuildRoom(1001);

            return(builder.GetMaze());
        }
Esempio n. 2
0
        public Maze CreateMaze(MazeBuilder builder)
        {
            builder.BuildMaze();

            builder.BuildRoom(1);
            builder.BuildRoom(2);
            builder.BuildDoor(1, 2);

            return(builder.GetMaze());
        }