public int InflictDamage(int amount, DamageType damageType = DamageType.Normal) { int remainHealth = Killable.InflictDamage(amount, damageType); if (remainHealth == 0) { // death } return(remainHealth); }
public int InflictDamage(int amount, DamageType damageType = DamageType.Normal) { int remainHealth = Killable.InflictDamage(amount, damageType); if (remainHealth == 0) { // death } return(remainHealth); }