Beispiel #1
0
        public void Reset()
        {
            Show();

            IsLightOn = true;

            muteButtonTimer = new HelperTimer(TimeSpan.FromSeconds(1.0), true, "MuteButtonEnabled", () => {
                showMuteButton  = true;
                muteButtonTimer = new HelperTimer(TimeSpan.FromSeconds(15.0), true, "MuteSong", () => {
                    showMuteButton = false;
                    if (Level.IsHardBoiled)
                    {
                        musicToreador.PlayIfNotPlaying();
                    }
                    else
                    {
                        musicClassicalish.PlayIfNotPlaying();
                    }
                });
            });

            showMuteButton = false;
            musicIntro.Play();
        }