Commit ae6b7541 authored by wildfirecode13's avatar wildfirecode13

u

parent ec0044b8
......@@ -3,7 +3,7 @@
import { changeScene, destroyAllCtrls } from "../module/ctrls";
import { RES } from "../module/RES";
import { destroyLayers, layers } from "../module/views/layers";
import getQueryParams from "./getQueryParams";
import getQueryParams from "./common/getQueryParams";
import { ResJson } from "./ResJson";
import { IndexScene } from "./scenes/IndexScene";
import { NewbieScene } from "./scenes/NewbieScene";
......
import { layers } from "../module/views/layers"
import { layers } from "../../module/views/layers"
export const getStageWidth = () => { return layers.stage.viewRect.width }
export const getStageHeight = () => { return layers.stage.viewRect.height }
......
import { RES } from "../../module/RES";
import { Panel } from "../../module/views/Panel";
import centerTextField from "../centerTextField";
import getObject from "../getObject";
import centerTextField from "../common/centerTextField";
import getObject from "../common/getObject";
export class AssistPanel extends Panel {
initUi() {
......
import { RES } from "../../module/RES";
import { Panel } from "../../module/views/Panel";
import centerTextField from "../centerTextField";
import getObject, { getObjects } from "../getObject";
import centerTextField from "../common/centerTextField";
import getObject from "../common/getObject";
export class DrawPanel extends Panel {
initUi() {
......
import { changeScene } from "../../module/ctrls";
import { RES } from "../../module/RES";
import { Panel } from "../../module/views/Panel";
import getObject from "../common/getObject";
import { ProgressBarS } from "../common/ProgressBarS";
import { showShareMask } from "../common/ShareMask";
import getObject from "../getObject";
import { IndexScene } from "../scenes/IndexScene";
import updateShare from "../updateShare";
import { getPxTokenSave, sendWebNet, WebNetName } from "../WebNet";
......
import { RES } from "../../module/RES";
import { Panel } from "../../module/views/Panel";
import getObject from "../getObject";
import getObject from "../common/getObject";
export class ShareFailPanel extends Panel {
initUi() {
......
import { RES } from "../../module/RES";
import { Panel } from "../../module/views/Panel";
import getObject from "../getObject";
import getObject from "../common/getObject";
export class ShareSuccessPanel extends Panel {
initUi() {
......
......@@ -2,18 +2,18 @@ import { unwatchPageVisibility, watchPageVisibility } from '@spark/utils';
import { hideWaiting, showPanel, showToast, showWaiting } from "../../module/ctrls";
import PanelCtrl from '../../module/ctrls/panelCtrl';
import { Scene } from "../../module/views/Scene";
import centerTextField from '../centerTextField';
import centerTextField from '../common/centerTextField';
import getObject, { getObjects } from '../common/getObject';
import getQueryParams from '../common/getQueryParams';
import Marquee from '../common/Marquee';
import { ProgressBarS } from '../common/ProgressBarS';
import { hideShareMask, showShareMask } from '../common/ShareMask';
import { getStageHeight, getStageOffset } from '../common/stage';
import { MAX_MONEY } from '../datas';
import getObject, { getObjects } from '../getObject';
import getQueryParams from '../getQueryParams';
import { DrawPanel } from '../panels/draw';
import { RulePanel } from '../panels/rule';
import { ShareFailPanel } from '../panels/share_fail';
import { ShareSuccessPanel } from '../panels/share_success';
import { getStageHeight, getStageOffset } from '../stage';
import updateShare from '../updateShare';
import { getPxTokenSave, getWebData, sendWebNet, WebNetName } from '../WebNet';
export class IndexScene extends Scene {
......
import { unwatchPageVisibility, watchPageVisibility } from "@spark/utils";
import { changeScene, closeCurrentPanel, hideWaiting, showPanel, showWaiting } from "../../module/ctrls";
import { Scene } from "../../module/views/Scene";
import getObject from "../common/getObject";
import getQueryParams from "../common/getQueryParams";
import Group from "../common/Group";
import Marquee from "../common/Marquee";
import { hideShareMask } from "../common/ShareMask";
import TestButton from "../common/TestButton";
import getObject from "../getObject";
import getQueryParams from "../getQueryParams";
import { PrizePanel } from "../panels/prize";
import { RulePanel } from "../panels/rule";
import { getPxTokenSave, sendWebNet, WebNetName } from "../WebNet";
......
import { hideWaiting, showPanel, showWaiting } from "../../module/ctrls";
import { Scene } from "../../module/views/Scene";
import centerTextField from "../centerTextField";
import centerTextField from "../common/centerTextField";
import getObject from "../common/getObject";
import getQueryParams from "../common/getQueryParams";
import Marquee from "../common/Marquee";
import getObject from "../getObject";
import getQueryParams from "../getQueryParams";
import { AssistPanel } from "../panels/assist";
import { RulePanel } from "../panels/rule";
import { getPxTokenSave, sendWebNet, WebNetName } from "../WebNet";
......
import { Scene } from "../../module/views/Scene"
import { Tools } from "../Tools";
export class PlayScene extends Scene {
get groupNames() { return ["playScene"] };
initUi() {
this.addChild(Tools.getSprite("playBg.jpg"))
.addEventListener(FYGE.MouseEvent.CLICK, () => {
console.log("点击背景")
}, this)
.position.set(0, 0)
}
start(data) {
super.start();
}
initEvents() {
super.initEvents();
}
removeEvents() {
super.removeEvents();
}
}
\ No newline at end of file
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