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