import Common5 from "../../../Platform/th/Common5";

const { ccclass, property } = cc._decorator;

@ccclass
export default class levelStar extends cc.Component {

    protected gameInfo = null;
    protected gameNo: number = 0;//该关卡是第几关

    // LIFE-CYCLE CALLBACKS:

    onLoad() {

    }

    start() {

    }

    initCell(num, info) {
        this.gameInfo = info;
        this.gameNo = num;
        Common5.btnRegister_custom(this.node, () => {
            this.clickFunc();
        })
    }

    clickFunc() {
        console.log(1111);
    }
}