dist/carrot.js
/**
     * Counts the inactive sprites in the group.
     *
     * @method Carrot.Group#countInactive
     * @return {integer}
     */
Counts the inactive sprites in the group.
Counts the inactive sprites in the group .
countInactive()
    {
        let result = 0;
        for (let i = 0; i < this.children.length; i++)
        {
            let child = this.children[i];
            if (child.active === false)
            {
                result += 1;
            }
        }
        return result;
    }
countInactive ( ) { let result = 0 ; for ( let i = 0 ; i < this . children . length ; i ++ ) { let child = this . children [ i ] ; if ( child . active === false ) { result += 1 ; } } return result ; }
Counts the inactive sprites in the group.
Counts the inactive sprites in the group .