
cc.Class({
    extends: cc.Component,

    properties: {
        questNode: cc.Node,
        questFrames: [cc.SpriteFrame],
        questBtns: [cc.Node],
        giftCounts: {
            tooltip: '奖励数量',
            default: null,
            type: cc.Label
        },
        questTitle: {
            tooltip: '任务标题',
            default: null,
            type: cc.Label
        },
        questDetail: {
            tooltip: '任务内容',
            default: null,
            type: cc.Label
        },
        questAct: {
            tooltip: '活跃度奖励',
            default: null,
            type: cc.Label
        }
    },

    onLoad () {

    },

    start () {

    },
    
    init (type) {
        this.questBtns[type].active = true
    }
});
