Esempio n. 1
0
 public MazeBuilder()
 {
     this.algo   = new DepthFirst();
     this.width  = 31;
     this.height = 41;
     this.algo.SetCurrentMaze(new TileMapMaze(width, height));
 }
Esempio n. 2
0
 public MazeBuilder SetMazeAlgorithm(IMazeGenAlgorithm algo)
 {
     this.algo = algo as MazeGenAlgorithmBase;
     return(this);
 }