public bool CheckDamageDone(ControlledDivision from) { base.CheckDamageDone(from); if (Soldiers.Count == 0) { from.DestroyDivision(this); return(true); } RecalculateAggrigateValues(); return(false); }
public bool TakeDamage(float damage, ControlledDivision from) { base.TakeDamage(damage, from); if (Soldiers.Count == 0) { from.DestroyDivision(this); return(true); } RecalculateAggrigateValues(); return(false); }