Exemple #1
0
 public Robot(ICleanedSpots cleanedSpots, Position startPosition)
 {
     _cleanedSpots = cleanedSpots;
     _positions    = new List <Position>()
     {
         startPosition
     };
 }
Exemple #2
0
 public RobotApp(IInputService inputService, IOutputService outputService, ICleanedSpots cleanedSpots)
 {
     _inputService  = inputService;
     _outputService = outputService;
     _cleanedSpots  = cleanedSpots;
 }