Exemple #1
0
 public bool CanBeEnchantedWith(ICanBeEnchanted itemToEnchant, ScrollOfEnchant scrollOfEnchant)
 => ForgeService.CanBeEnchantedWith(itemToEnchant, scrollOfEnchant);
Exemple #2
0
 // TODO : Обобщить для интерфейса ICanBeEnchanted<TScrollOfEnchant>.
 public bool EnchantWeapon(ICanBeEnchanted itemToEnchant, ScrollOfEnchant scrollOfEnchant)
 => ForgeService.EnchantItem(itemToEnchant, scrollOfEnchant);