import BasicTreeBehaviorNode from "../../Engine/Basic/BasicTreeBehaviorNode"; import EventManager from "../../Engine/Event/EventManager"; import GameEventName from "../Event/GameEventName"; import HallView from "../View/HallView/HallView"; /** * 大厅控制节点 - 逻辑层 */ export default class Game_Hall_Flow extends BasicTreeBehaviorNode { public _enter (...args: any): void { EventManager.sendEvent(GameEventName.View.View_ShowView, HallView); } protected _leave (): void { EventManager.sendEvent(GameEventName.View.View_DestroyView, HallView); } protected _enterFail (): void { } protected _enterAgain (): void { } }