Exemplo n.º 1
0
        //changement
        public void selectionnerArtefact(Artefact AF)
        {
            if (_AFSelectionne != null)
                AFSelectionne.estSelectionee = false;

            AFSelectionne = AF;

            if (AFSelectionne.nom.Equals(SpecsDuJeu.tabNomElements[4]))
                agilite += AFSelectionne.pointsAttribues;       // om ajoute les propriete

            if (AFSelectionne.nom.Equals(SpecsDuJeu.tabNomElements[3]))
                force = AFSelectionne.pointsAttribues;

            AFSelectionne.estSelectionee = true;

            //selectionneUnArtefact(this, new ArtefactPrisEventArgs { af = AFSelectionne });
        }
Exemplo n.º 2
0
        void theGame_AF_versSac(Artefact af_pris)
        {
            PictureBox potion = af_pris.thePictureBox;

            flpnl_Sac.Controls.Add(potion);
            pnlTerrainLimites.Controls.Remove(potion);
        }