示例#1
0
 public CombatScreen(Player human, Enemy mob)
 {
     InitializeComponent();
     this.HumanPlayer = human;
     this.Mob = mob;
     this.label1.Text = this.HumanPlayer.ToString();
     this.label2.Text = this.Mob.ToString();
     this.label3.Text = this.HumanPlayer.Name;
     this.label4.Text = this.Mob.Name;
     this.EnemyPicture.Load(mob.Image);
     this.comboBox1.Items.AddRange(human.AbilityList());
     this.comboBox1.Items.Add("No Action");
 }