Ejemplo n.º 1
0
 public CommandPerformerFactory(
     IRobotStateFactory robotStateFactory,
     IOrientationTurner leftOrientationTurner,
     IOrientationTurner rightOrientationTurner,
     IMoveAttempter moveAttempter,
     ITableDimensions tableDimensions,
     ITextOutputter textOutputter)
 {
     this.robotStateFactory      = robotStateFactory;
     this.leftOrientationTurner  = leftOrientationTurner;
     this.rightOrientationTurner = rightOrientationTurner;
     this.moveAttempter          = moveAttempter;
     this.tableDimensions        = tableDimensions;
     this.textOutputter          = textOutputter;
 }
Ejemplo n.º 2
0
 public TurnPerformer(IOrientationTurner orientationTurner)
 {
     this.orientationTurner = orientationTurner;
 }