public PlacePerformer( IRobotStateFactory robotStateFactory, ITableDimensions tableDimensions, int xCoordinate, int yCoordinate, IOrientation orientation) { this.robotStateFactory = robotStateFactory; this.tableDimensions = tableDimensions; this.xCoordinate = xCoordinate; this.yCoordinate = yCoordinate; this.orientation = orientation; }
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; }