public ZombieContextUpdater(TargetChaser chaser, ITargetLocator targetLocator, IPositionDetector positionDetector) { _chaser = chaser; _targetLocator = targetLocator; _positionDetector = positionDetector; }
public FSMZombieBrain(ITimeProvider timeProvider, ITargetLocator targetLocator, StateMachineFactory stateMachineFactory, TargetChaser targetChaser, IAttacker attacker, TimeSpan attackInterval, IDoor[] doors, IMover mover, IPositionDetector positionDetector) { _timeProvider = timeProvider; _targetLocator = targetLocator; _stateMachineFactory = stateMachineFactory; _targetChaser = targetChaser; _attacker = attacker; _attackInterval = attackInterval; _doors = doors; _mover = mover; _positionDetector = positionDetector; }