RunicBoard.CanLaunchSpell C# (CSharp) Method

CanLaunchSpell() public method

Check if the combination of runes exists in the database
public CanLaunchSpell ( ) : bool
return bool
    public bool CanLaunchSpell()
    {
        Queue<Element> elements = GetSortedElementQueue();
        Logger.Debug("*** Elements in queue ***");
        //foreach(Element e in elements)
        //{
        //    Logger.Debug("E : " + e._id + ", " + e._name);
        //}
        SpellManager sm = SpellManager.GetInstance();
        if (sm.ElementNode.GetSelfSpell(elements) != null)
            return true;

        return false;
    }