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