public override void Destroy(bool withEffect = true) { DrainLife(MaxLife); base.Destroy(withEffect); GamePool.FlagForPurge(ID); if (Weapon != null) { GamePool.FlagForPurge(Weapon.ID); } }
public void Purge() { GamePool.FlagForPurge(Id); GamePool.FlagForPurge(_tunnelDoor.Id); }