예제 #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     plr.useArrow();
     label1.Text = "Arrows: " + plr.getNumberOfArrows();
 }
예제 #2
0
 private void ConstructorButton_Click(object sender, EventArgs e)
 {
     plr = new Player();
     plr.addArrow();
     label1.Text = "Arrows: " + plr.getNumberOfArrows();
 }