Esempio n. 1
0
        private void twoOfEachButton_Click(object sender, EventArgs e)
        {
            WipeAllLabels();
            List <HeroModel> twoOfEach = randomSelection.RandomTwoOfEach();

            randomTankOneLabel.Text    = twoOfEach[0].HeroName;
            randomTankTwoLabel.Text    = twoOfEach[1].HeroName;
            randomSupportOneLabel.Text = twoOfEach[2].HeroName;
            randomSupportTwoLabel.Text = twoOfEach[3].HeroName;
            randomDamageOneLabel.Text  = twoOfEach[4].HeroName;
            randomDamageTwoLabel.Text  = twoOfEach[5].HeroName;
        }