public override void close() { Terrain.dispose(); clearVegetation(); modifierPanel.dispose(); labelFPS.dispose(); labelVegetationHidden.dispose(); GuiController.Instance.Panel3d.MouseMove -= mouseMove; GuiController.Instance.Panel3d.MouseLeave -= mouseLeave; }
public void Dispose() { rifle.dispose(); sound_Zoom.dispose(); scope_stencil.dispose(); camera.Dispose(); sound_Disparo.dispose(); sound_DryFire.dispose(); sound_Hit.dispose(); sound_Die.dispose(); mira.dispose(); tvidas.dispose(); tammo.dispose(); }
public override void close() { textFPS.dispose(); scenePista.disposeAll(); humo.dispose(); fuego.dispose(); for (int i = 0; i < 4; i++) { ruedas[i].dispose(); } autoMesh.dispose(); meshAutoIA.dispose(); oBBAuto.dispose(); oBBAutoIa.dispose(); sprite.dispose(); //borro los puntos de control del trayecto for (int i = 0; i < trayecto.Count; i++) { trayecto[i].dispose(); trayecto[i].BoundingCylinder.dispose(); trayectoDeIA[i].dispose(); trayectoDeIA[i].BoundingCylinder.dispose(); } trayecto.Clear(); trayectoDeIA.Clear(); foreach (TgcObb obbColisionable in objetosColisionables) { obbColisionable.dispose(); } //Liberar textos textPuntosDeControlAlcanzados.dispose(); textPosicionDelAutoActual.dispose(); textIngreseTecla.dispose(); stringTiempo.dispose(); //para que una vez cerrado el juego y vuelto a abrir, comience nuevamente en la pantalla de inicio flagInicio = 0; primerRenderDelJuegoAndando = true; }
public void close() { specialKillText.dispose(); scoreText.dispose(); captureText.dispose(); normalScope.dispose(); zoomedScope.dispose(); ambient.dispose(); HudFront.dispose(); cross.dispose(); healthSprite.dispose(); hudWeapon.dispose(); scoreSprite.dispose(); mapBaseSprite.dispose(); playerPointerSprite.dispose(); highScoreSprite.dispose(); sound.dispose(); launcherTexture.dispose(); sniperTexture.dispose(); }
public void dispose() { removeFloatingVegetation(); label.dispose(); sound.dispose(); }
internal override void close() { instrucciones.dispose(); base.close(); }
public override void close() { mesh.dispose(); textHelp.dispose(); helpForm.Dispose(); }
public override void close() { text1.dispose(); text2.dispose(); text3.dispose(); }
public void dispose() { bBrush.dispose(); sound.dispose(); text.dispose(); }
internal override void close() { grupo.dispose(); base.close(); }