private void CastSpell_Click(object sender, EventArgs e) { main.CastSpell(player.spells.Find(s => s.name == spellList.SelectedItem as string), castSpell); }
private void CastSpell_Click(object sender, EventArgs e) { main.CastSpell(player.spells.Find(s => s.name == spellList.SelectedItem as string), castSpell); }