Exemplo n.º 1
0
            public void Dispose()
            {
                soundPlayer.Stop();
                sound.Dispose();

                textSprite.Dispose();
                playButton.Dispose();
                stopButton.Dispose();
                volumeSlider.Dispose();
            }
Exemplo n.º 2
0
        /// Terminate
        public static void Term()
        {
            bgmPlayer.Stop();
            bgm.Dispose();

            playButton.Dispose();
            stopButton.Dispose();
            pauseButton.Dispose();
            resumeButton.Dispose();
            volumeSlider.Dispose();

            SampleDraw.Term();
            graphics.Dispose();
        }
Exemplo n.º 3
0
        /// terminate
        public static void Term()
        {
            button0.Dispose();
            button1.Dispose();
            button2.Dispose();
            button3.Dispose();

            slider.Dispose();

            inputTextButton.Dispose();
            if (dialog != null)
            {
                dialog.Dispose();
                dialog = null;
            }

            SampleDraw.Term();
            graphics.Dispose();
        }