示例#1
0
 private void ListSword_Click(object sender, EventArgs e)
 {
     if (game.CheckPlayerInventory <Sword>())
     {
         game.Equip("Sword");
     }
     UpdateCharacters();
 }