Esempio n. 1
0
 public override void close()
 {
     tgcKinect.dispose();
     center.dispose();
     bounds.dispose();
     leftHandPointer.dispose();
     rightHandPointer.dispose();
 }
Esempio n. 2
0
        public void Dispose()
        {
            sprite.dispose();

            foreach (var item in frames)
            {
                item.dispose();
            }
        }
Esempio n. 3
0
 public override void close()
 {
     skyBox.dispose();
     InteractionManager.DisposeElementos();
     boton1.dispose();
     boton2.dispose();
     timon.dispose();
     barra.dispose();
     animatedSprite.dispose();
     animatedSprite2.dispose();
     oceano.dispose();
 }
Esempio n. 4
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();
 }
Esempio n. 5
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;
        }
        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()
 {
     sprite.dispose();
 }
Esempio n. 8
0
 public override void close()
 {
     sprite.dispose();
     box.dispose();
 }