Ejemplo n.º 1
0
        private void btn_defend_Click(object sender, EventArgs e)
        {
            ShieldBearer defender = (ShieldBearer)knight;

            lb_feedback.Items.Insert(0, defender.defend());
        }
Ejemplo n.º 2
0
 private void btn_shield_Click(object sender, EventArgs e)
 {
     knightList[index] = new ShieldBearer();
     lb_knights_SelectedIndexChanged(sender, e);
 }