private void InitializeStateSensors(IStateSensorFactory stateSensorFactory) { _stateSensors = new IStateSensor[] { stateSensorFactory.Create <PossessionStateSensor>() }; }
internal Announcer(ISessionConverter sessionConverter, IStateSensorFactory stateSensorFactory, IEventSensorFactory eventSensorFactory, IPlaySensorFactory playSensorFactory) { _sessionConverter = sessionConverter; InitializeStateSensors(stateSensorFactory); InitializeEventSensors(eventSensorFactory); InitializePlaySensors(playSensorFactory); }