Ejemplo n.º 1
0
 public void UpgradeFirst(MagicSelection magic)
 {
     switch (magic)
     {
     case MagicSelection.air:
         magic_attack1 = Magic.tripleburst;
         break;
     }
 }
Ejemplo n.º 2
0
    public void ChangeAttack(int tab_slot, MagicSelection magic)
    {
        switch (magic)
        {
        case MagicSelection.air:
            switch (tab_slot)
            {
            case 1:
                SwapAttack(magic_attack1);
                break;

            case 2:
                SwapAttack(magic_attack2);
                break;

            case 3:
                SwapAttack(magic_attack3);
                break;
            }
            break;
        }
    }