Ejemplo n.º 1
0
 public MapSeeder(IMap map, IServiceProvider serviceProvider, GameObjectsCreationEvent gameObjectsCreationEvent, IEventRecorder eventRecorder)
 {
     _map                      = map;
     _serviceProvider          = serviceProvider;
     _gameObjectsCreationEvent = gameObjectsCreationEvent;
     _eventRecorder            = eventRecorder;
 }
Ejemplo n.º 2
0
 public FemaleImpl(ILoggerFactory loggerFactory, GettingPregnantEvent gettingPregnantEvent,
                   PregnancyProgressionEvent pregnancyProgressionEvent, BirthEvent birthEvent, GameObjectsCreationEvent gameObjectsCreationEvent,
                   IEventRecorder eventRecorder)
 {
     _gettingPregnantEvent      = gettingPregnantEvent;
     _pregnancyProgressionEvent = pregnancyProgressionEvent;
     _birthEvent = birthEvent;
     _gameObjectsCreationEvent = gameObjectsCreationEvent;
     _eventRecorder            = eventRecorder;
     _logger        = loggerFactory.CreateLogger <FemaleImpl>();
     _stringBuilder = new StringBuilder();
 }