You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
776 B
37 lines
776 B
|
|
import User from "../FrameWork/User/User";
|
|
import AppPlatform from "../FrameWork/Util/AppPlatform";
|
|
import Common5 from "../Platform/th/Common5";
|
|
import TTAPI from "../Platform/tt/TTAPI";
|
|
import PhysicalPowerManger from "../ttFrame/manager/PhysicalPowerManger";
|
|
|
|
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);
|
|
}
|
|
}
|
|
|