Exemple #1
0
 public void AddDamageType(DamageTypeTemplate damageType)
 {
     if (DamageTypes.ContainsKey(damageType.Key))
     {
         throw new MeException($"Attempted to add a damage type with key {damageType.Key} but it already exists");
     }
     DamageTypes.Add(damageType.Key, damageType);
 }