예제 #1
0
 public bool IsResistant(DamageType damageType)
 {
     return(Defenses.Any(def => def.IsResistant(damageType)));
 }
예제 #2
0
 private bool IsImmune(DamageType damageType)
 {
     return(Defenses.Any(def => def.IsImmune(damageType)));
 }