Пример #1
0
 public override void close()
 {
     Terrain.dispose();
     clearVegetation();
     modifierPanel.dispose();
     labelFPS.dispose();
     labelVegetationHidden.dispose();
     GuiController.Instance.Panel3d.MouseMove  -= mouseMove;
     GuiController.Instance.Panel3d.MouseLeave -= mouseLeave;
 }
Пример #2
0
 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();
 }
Пример #3
0
        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;
        }
Пример #4
0
        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();
        }
Пример #5
0
 public void dispose()
 {
     removeFloatingVegetation();
     label.dispose();
     sound.dispose();
 }
Пример #6
0
 internal override void close()
 {
     instrucciones.dispose();
     base.close();
 }
Пример #7
0
 public override void close()
 {
     mesh.dispose();
     textHelp.dispose();
     helpForm.Dispose();
 }
Пример #8
0
 public override void close()
 {
     text1.dispose();
     text2.dispose();
     text3.dispose();
 }
Пример #9
0
 public void dispose()
 {
     bBrush.dispose();
     sound.dispose();
     text.dispose();
 }
Пример #10
0
 internal override void close()
 {
     grupo.dispose();
     base.close();
 }