public void FillSpellsLauncher(SpellsLauncher launcher) { for (int i = 0; i < 9; i++) { if (spellPaths[i] != "") { launcher.SetSpell(i, spellPaths[i]); } } }
public void SetShortcut(int index) { spellsLauncher.SetSpell(index, selectedSpell); uiGame.SpellShortcutChanged(selectedSpell, index); HideShortcutPanel(); }