Пример #1
0
 private void CommonButt_Click(object sender, EventArgs e)
 {
     Gotcha = new Gotchapon();
     Gotcha.createGotcha(1);
     MainLab.Text       = $"{Gotcha.getname()}";
     AbilitiesLab1.Text = $"{Gotcha.getatt()}";
     AttackLab.Text     = $"Attack: {Gotcha.getatk()}";
     DefenceLab.Text    = $"Defence: {Gotcha.getdef()}";
     HitDiceLab.Text    = $"Hit Dice: {Gotcha.gethd()}";
     SpeedLab.Text      = $"Speed: {Gotcha.getspeed()}";
     SkillLab.Text      = $"{Gotcha.getskill()}";
 }
Пример #2
0
 private void LegendButt_Click(object sender, EventArgs e)
 {
     Player1 = new Gotchapon();
     Player1.createGotcha(4);
     FillPlayer1();
 }
Пример #3
0
 private void EpicButt2_Click(object sender, EventArgs e)
 {
     Player2 = new Gotchapon();
     Player2.createGotcha(3);
     FillPlayer2();
 }