public override void Dispose() { Plaza.DisposeAll(); AutoFisico1.Dispose(); GrupoPolicias.Dispose(); Cielo.Dispose(); Sonidos.Dispose(); Hud.Dispose(); Invisible.Dispose(); }
public override void Dispose() { Plaza.DisposeAll(); AutoFisico1.Dispose(); GrupoPolicias.Dispose(); Cielo.Dispose(); Sonidos.Dispose(); Hud.Dispose(); foreach (var auto in Players) { auto.sonidoAceleracion.dispose(); auto.sonidoDesaceleracion.dispose(); auto.frenada.dispose(); auto.choque.dispose(); } Invisibilidad.Dispose(); g_pRenderTarget.Dispose(); g_pVBV3D.Dispose(); g_pDepthStencil.Dispose(); }