Commit 29d75c03 authored by wjf's avatar wjf

l

parent d81f9ce5
...@@ -31,6 +31,7 @@ import Buy3Panel from "../../src/panels/Buy3Panel"; ...@@ -31,6 +31,7 @@ import Buy3Panel from "../../src/panels/Buy3Panel";
import FailedPanel from "../../src/panels/FailedPanel"; import FailedPanel from "../../src/panels/FailedPanel";
import QuitPanel from "../../src/panels/QuitPanel"; import QuitPanel from "../../src/panels/QuitPanel";
import BoxPanel from "../../src/panels/BoxPanel"; import BoxPanel from "../../src/panels/BoxPanel";
import MainScene from "../../src/mainScene/MainScene";
export default class MainBase extends eui.UILayer { export default class MainBase extends eui.UILayer {
constructor() { constructor() {
...@@ -62,7 +63,8 @@ export default class MainBase extends eui.UILayer { ...@@ -62,7 +63,8 @@ export default class MainBase extends eui.UILayer {
const scenes = [ const scenes = [
[ModuleTypes.START_SCENE, { cls: StartScene }], [ModuleTypes.START_SCENE, { cls: StartScene }],
[ModuleTypes.MAP_SCENE, { cls: MapScene }], [ModuleTypes.MAP_SCENE, { cls: MapScene }],
[ModuleTypes.PLAY_SCENE, { cls: PlayScene }] [ModuleTypes.PLAY_SCENE, { cls: PlayScene }],
[ModuleTypes. MAIN_SCENE,{ cls: MainScene }]
]; ];
panels.forEach(item => PanelCtrl.instance.registerPanel(item[0], item[1])); panels.forEach(item => PanelCtrl.instance.registerPanel(item[0], item[1]));
......
...@@ -4,6 +4,8 @@ export enum ModuleTypes { ...@@ -4,6 +4,8 @@ export enum ModuleTypes {
PLAY_SCENE, PLAY_SCENE,
RELIVE_PANEL, RELIVE_PANEL,
MAIN_SCENE,
ALERT_PANEL, ALERT_PANEL,
RULE_PANEL, RULE_PANEL,
HTML_RULE_PANEL, HTML_RULE_PANEL,
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment