import User from "../FrameWork/User/User";
import AppPlatform from "../FrameWork/Util/AppPlatform";
import Utilit from "../FrameWork/Util/Utilit";
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 GameLoading extends cc.Component {

    protected showNode: cc.Node = null;
    protected btnRestart: cc.Node = null;
    protected btnBack: cc.Node = null;
    protected btnShare: cc.Node = null;
    protected fireworksNode: cc.Node = null;


    protected start(): void {
        this.btnBack = this.node.getChildByName("bg").getChildByName("snBG").getChildByName("snBack");
        this.btnBack.on("click", () => {
            this.node.removeFromParent();
            this.node.destroy();
        }, this);

    }
}