public IterationHandler ( IMovementHandler movementHandler, IHealthHandler healthHandler, IPointsMonitor pointsMonitor, IConsoleWriter consoleWriter ) { _healthHandler = healthHandler; _pointsMonitor = pointsMonitor; _consoleWriter = consoleWriter; _movementHandler = movementHandler; }
public MovementHandler ( IPositionHandler positionHandler, IPointReplacer pointReplacer, IAnimalFinder animalFinder, IHealthHandler healthHandler, IField field ) { _field = field; _positionHandler = positionHandler; _pointReplacer = pointReplacer; _animalFinder = animalFinder; _healthHandler = healthHandler; }
public HealthController(IHealthHandler healthHandler) { _healthHandler = healthHandler; }