12345678910111213141516171819202122232425262728 |
- import BasicTreeBehaviorNode from "../../Engine/Basic/BasicTreeBehaviorNode";
- import EventManager from "../../Engine/Event/EventManager";
- import GameEventName from "../Event/GameEventName";
- import HintView from "../View/HintView/HintView";
- import OverView from "../View/OverView/OverView";
- /**
- * 游戏结束控制节点 - 逻辑层
- */
- export default class Game_Over_Flow extends BasicTreeBehaviorNode {
- public _enter (...args: any): void {
- EventManager.sendEvent(GameEventName.View.View_ShowView, OverView);
- }
- protected _leave (): void {
- EventManager.sendEvent(GameEventName.View.View_DestroyView, OverView);
- EventManager.sendEvent(GameEventName.View.View_DestroyView, HintView);
- }
-
- protected _enterFail (): void {
-
- }
- protected _enterAgain (): void {
-
- }
- }
|