private void GobRemovedHandler(Gob gob) { if (gob.Layer == Gobs.GameplayLayer || gob.Layer == Gobs.GameplayOverlayLayer) Unregister(gob); gob.Dispose(); if (GobRemoved != null) GobRemoved(gob); }
private void GobRemovedHandler(Gob gob) { if (gob.Layer == Gobs.GameplayLayer || gob.Layer == Gobs.GameplayOverlayLayer) Unregister(gob); gob.Dispose(); if (GobRemoved != null) GobRemoved(gob); }