Esempio n. 1
0
 public GameFactory(
     IGameStateService gameStateService,
     IDatabaseService databaseService,
     ILogService logService,
     IConfigurator configurator,
     IRandomService randomService,
     IUniverseFactory universeFactory,
     IWorldFactory worldFactory,
     IAreaFactory areaFactory,
     ISectionFactory sectionFactory)
 {
     this.gameStateService = gameStateService;
     this.databaseService  = databaseService;
     this.logService       = logService;
     this.configurator     = configurator;
     this.randomService    = randomService;
     this.universeFactory  = universeFactory;
     this.worldFactory     = worldFactory;
     this.areaFactory      = areaFactory;
     this.sectionFactory   = sectionFactory;
 }
 public AreaController(IResidentialAreaService residentialAreaService, ILogger logger, IAreaFactory areaFactory)
 {
     _residentialAreaService = residentialAreaService;
     _ILogger     = logger;
     _areaFactory = areaFactory;
 }