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