Beispiel #1
0
 public MazeModelFactory(IMovementHelper movementHelper, IDirectionsFlagParser parser, IMazePointFactory pointFactory, IMazeArrayBuilder mazeArrayBuilder, IRandomPointGenerator randomPointGenerator)
 {
     _movementHelper       = movementHelper;
     _parser               = parser;
     _pointFactory         = pointFactory;
     _mazeArrayBuilder     = mazeArrayBuilder;
     _randomPointGenerator = randomPointGenerator;
 }
 public RandomPointGenerator(IRandomValueGenerator randomValueGenerator, IMazePointFactory mazePointFactory)
 {
     _randomValueGenerator = randomValueGenerator;
     _mazePointFactory     = mazePointFactory;
 }
Beispiel #3
0
 public Model3(IDirectionsFlagParser flagParser, IMazePointFactory pointFactory, IMovementHelper movementHelper)
 {
     _flagParser     = flagParser;
     _pointFactory   = pointFactory;
     _movementHelper = movementHelper;
 }
Beispiel #4
0
 public MazeHelper(IMazePointFactory pointFactory)
 {
     _pointFactory = pointFactory;
 }
 public MovementHelper(IDirectionsFlagParser flagParser, IMazePointFactory pointFactory, IPointValidity pointValidity)
 {
     _flagParser    = flagParser;
     _pointFactory  = pointFactory;
     _pointValidity = pointValidity;
 }
 public MazeArrayBuilder(IMazePointFactory pointFactory)
 {
     _pointFactory = pointFactory;
 }