Beispiel #1
0
        private void pbPlanete2_Click(object sender, EventArgs e)
        {
            DeplacementPlanete(false);
            ChoixArmeCombat();

            m_Niveau2 = new Monde_2(PersoComplet, ArmeChoisi, Planete3, Rune1, Rune2);
            m_Niveau2.ShowDialog();

            #region Planete 3 Permise ? et pour aller au menu direct ?
            if (m_Niveau2.PourAllerAuMenuDirect() == true)
            {
                DeplacementPlanete(false);
                MiseEnPlace_Argent_Exp(2);
                VérificationGrilleNiveau();
                this.Close();
                return;
            }
            if (m_Niveau2.PLanete3Permise == true)
            {
                pbPlanete3.Visible = true;
                Planete3           = true;
            }
            #endregion
            DeplacementPlanete(true);
            MiseEnPlace_Argent_Exp(2);
            VérificationGrilleNiveau();
            sp.PlayLooping();
        }
Beispiel #2
0
 private void pbPlanete2_Click(object sender, EventArgs e)
 {
     m_Niveau2 = new Monde_2(Perso, Argent, ArmeenMain);
     Rotation.Stop();
     RotationP2.Stop();
     m_Niveau2.ShowDialog();
     if (m_Niveau2.PourAllerAuMenuDirect() == true)
     {
         Argent = m_Niveau2.m_Argent;
         this.Close();
         return;
     }
     Argent = m_Niveau2.m_Argent;
     Rotation.Start();
     RotationP2.Start();
     sp.PlayLooping();
 }