123456789101112131415161718192021222324252627282930 |
- import BasicTreeBehaviorNode from "../../Engine/Basic/BasicTreeBehaviorNode";
- import EventManager from "../../Engine/Event/EventManager";
- import Tool from "../../Engine/Tool/Tool";
- import GameEventName from "../Event/GameEventName";
- import InitLoadView from "../View/InitLoadView/InitLoadView";
- /**
- * 启动控制节点 - 逻辑层
- */
- export default class Game_InitLoad_Flow extends BasicTreeBehaviorNode {
- public _enter (...args: any): void {
- EventManager.sendEvent(GameEventName.View.View_DestroyView, null);
- EventManager.sendEvent(GameEventName.View.View_ShowView, InitLoadView);
- }
- protected _leave (): void {
- Tool.log("正式进入游戏");
- // EventManager.sendEvent(GameEventName.View.View_DestroyView, InitLoadView);
- }
-
- protected _enterFail (): void {
-
- }
- protected _enterAgain (): void {
-
- }
- }
|