public GameObjectFactory(IKernel kernel, IStructureCsvFactory structureCsvFactory, ITechnologyManagerFactory technologyManagerFactory) { this.kernel = kernel; this.structureCsvFactory = structureCsvFactory; this.technologyManagerFactory = technologyManagerFactory; dbManager = kernel.Get <IDbManager>(); }
public CityFactory(IKernel kernel, IActionWorkerFactory actionWorkerFactory, INotificationManagerFactory notificationManagerFactory, IReferenceManagerFactory referenceManagerFactory, ITechnologyManagerFactory technologyManagerFactory, ITroopManagerFactory troopManagerFactory, IUnitTemplateFactory unitTemplateFactory) { this.kernel = kernel; this.actionWorkerFactory = actionWorkerFactory; this.notificationManagerFactory = notificationManagerFactory; this.referenceManagerFactory = referenceManagerFactory; this.technologyManagerFactory = technologyManagerFactory; this.troopManagerFactory = troopManagerFactory; this.unitTemplateFactory = unitTemplateFactory; }