import { ryw_Event } from "../FrameWork/Event/EventEnum";
import EventMgr from "../FrameWork/Event/EventMgr";
import GameMgr from "../FrameWork/Mgr/GameMgr";
import GameReport, { ENTERTYPE } from "../FrameWork/Report/ZyZyReport";
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 DayUnlock from "../ttFrame/manager/DayUnlock";
import PhysicalPowerManger from "../ttFrame/manager/PhysicalPowerManger";
import Game from "./Game";
import MainScene from "./MainSceneScript";

const { ccclass, property } = cc._decorator;

@ccclass
export default class TerrTip extends cc.Component {
    
    protected start(): void {
        
    }
    
    
    btnCloseFunc() {
        EventMgr.emitEvent_custom(ryw_Event.startTimeTick);
        this.node.removeFromParent();
    }
    btnExit(){
        Game.ins.exitGame();
        this.node.removeFromParent();
    }
}