Ejemplo n.º 1
0
        public GameObjectFactory(IKernel kernel, IStructureCsvFactory structureCsvFactory, ITechnologyManagerFactory technologyManagerFactory)
        {
            this.kernel = kernel;
            this.structureCsvFactory      = structureCsvFactory;
            this.technologyManagerFactory = technologyManagerFactory;

            dbManager = kernel.Get <IDbManager>();
        }
Ejemplo n.º 2
0
 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;
 }