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.
24 lines
532 B
24 lines
532 B
1 week ago
|
import { ryw_Event } from "../../../FrameWork/Event/EventEnum";
|
||
|
import EventMgr from "../../../FrameWork/Event/EventMgr";
|
||
|
import Game from "./Game";
|
||
|
|
||
|
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();
|
||
|
}
|
||
|
}
|