Exemplo n.º 1
0
 public WeaponController(IWeaponRarityRepository rarity, IWeaponTypeRepository type, IEffectRepository effect)
 {
     _weaponManager = new WeaponManager(rarity, type, effect);
 }
Exemplo n.º 2
0
 public WeaponManager(IWeaponRarityRepository rarity, IWeaponTypeRepository type, IEffectRepository effect)
 {
     _rarities        = rarity.GetAllRarities().ToList();
     _types           = type.GetAllTypes().ToList();
     _effectGenerator = new EffectGenerator(effect);
 }