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