Ejemplo n.º 1
0
 public WeaponLogicManager( //WeaponConfigManagement weaponDataConfigManager,
                            //IWeaponResourceConfigManager weaponConfigManager,
     IFireLogicProvider fireLogicCreator,
     IFreeArgs freeArgs)
 {
     _fireLogicCreator = fireLogicCreator;
     //_weaponDataConfigManager = weaponDataConfigManager;
     // SingletonManager.Get<WeaponResourceConfigManager>() = weaponConfigManager;
     _defaultWeaponLogic = new DefaultWeaponLogic();
     _freeArgs           = freeArgs;
 }
Ejemplo n.º 2
0
 public WeaponLogicManager(IWeaponDataConfigManager weaponDataConfigManager,
                           IWeaponConfigManager weaponConfigManager,
                           IFireLogicProvider fireLogicCreator,
                           IFreeArgs freeArgs)
 {
     _fireLogicCreator        = fireLogicCreator;
     _weaponDataConfigManager = weaponDataConfigManager;
     _weaponConfigManager     = weaponConfigManager;
     _defaultWeaponLogic      = new DefaultWeaponLogic();
     _freeArgs = freeArgs;
 }