private void OnBuildingDeath(IEntity o) { isDead = true; o.OnDestruction -= OnBuildingDeath; building = null; }