Beispiel #1
0
 public CheckpointCreator(MazeData mazeData)
 {
     this.WallWidth     = mazeData.CellSideLength;
     this.WallThickness = mazeData.CellWallThickness;
     this.MazeHeight    = mazeData.Height;
     this.MazeWidth     = mazeData.Width;
 }
Beispiel #2
0
 public BoundaryAreaDrawer(MazeData mazeData)
 {
     this.WallWidth             = mazeData.CellSideLength;
     this.WallThickness         = mazeData.CellWallThickness;
     this.DistanceFromEntrance  = 15.0f;
     this.BoundaryWallThickness = 2.0f;
 }
Beispiel #3
0
 public MazeDrawer(MazeData mazeData)
 {
     MazeWidth     = mazeData.Width;
     MazeHeight    = mazeData.Height;
     Maze          = mazeData.Maze;
     WallWidth     = mazeData.CellSideLength;
     WallThickness = mazeData.CellWallThickness;
 }
Beispiel #4
0
 public MazeModel(MazeData mazeData)
 {
     MazeData  = mazeData;
     CellPairs = new List <TwoTuple <Cell> >();
 }