/// <summary>
    /// Check if player selects spell and first vertex (vertex to affect by spell)
    /// And cast spell then substract mana
    /// </summary>
    void CastPlayerSpell()
    {
        if (SelectedVertexA != null && SelectedVertexB == null && SpellToCast != -1)
        {
            switch (SpellToCast)
            {
            case 0:
                CastOffensiveSpell(SelectedVertexA);
                Mana[1] -= 100;
                break;

            case 1:
                CastEarthquakeSpell(SelectedVertexA);
                Mana[1] -= 300;
                break;

            case 2:
                CastTakeoverCast(SelectedVertexA, OwnerType.Player);
                Mana[1] -= 500;
                break;
            }

            SelectedVertexA = null;
            SetPositionOfSunshaft();

            SpellToCast = -1;
            GraphController.ClearSelection();
        }
    }