public Robot(int id, string name, ISurfaceCoordinateValidator surfaceCoordinateValidator) { this.Id = id; this.Name = name; _surfaceCoordinateValidator = surfaceCoordinateValidator; }
public MoveCommand(ICommandParam commandParam, ISurfaceCoordinateValidator validator) { _commandParam = commandParam; _coordinateValidator = validator; }
private IDirectionValidator _directionValidator; //= new DirectionValidator(); public CommandParamValidator(ISurfaceCoordinateValidator surfaceCoordinateValidator, IDirectionValidator directionValidator) { _surfaceCoordinateValidator = surfaceCoordinateValidator; _directionValidator = directionValidator; }
public PlaceCommand(ICommandParam commandParam, ISurfaceCoordinateValidator surfaceCoordinateValidator) { _commandParam = commandParam; _surfaceCoordinateValidator = surfaceCoordinateValidator; }