Commit ed17eb48 authored by wildfirecode13's avatar wildfirecode13

update

parent c62d3032
{
"success": true,
"message": "",
"code": "",
"data": true
}
\ No newline at end of file
......@@ -8,6 +8,8 @@ import { ResJson } from "./ResJson";
import { SkinJson } from "./SkinJson";
import { LoadingScene } from "./template/LoadingScene";
import { destroyWebNetData } from "./WebNet";
import { StartScene } from "./template/StartScene";
import { NewbieScene } from "./template/NewbieScene";
/**
......@@ -60,7 +62,7 @@ export class Main {
//h5环境时,隐藏加载中
if (FYGE.getEnv() == "web" && document.getElementById("__loading__")) document.getElementById("__loading__").style.display = "none";
//显示场景
changeScene(LoadingScene)
changeScene(NewbieScene)
}
/**
......
......@@ -27,6 +27,10 @@ export enum WebNetName {
* 获取结果
*/
queryResult = "/projectx/{projectId}/game/queryResult.do",
/**
* is newbie?
*/
isNewbie = "/projectx/{projectId}/isNewbie.do",
/**
* 获取规则
*/
......
export default (object:FYGE.Container, name:string)=>{
let func;
func = (object:FYGE.Container, name:string)=>{
const result = object.getChildByName(name);
if(result) return result;
for (const child of object.children) {
const result = child.getChildByName(name);
const result = func(child,name);
if(result) return result;
}
return null;
}
export default func
\ No newline at end of file
import { Scene } from "../../module/views/Scene";
export class NewbieScene extends Scene {
get groupNames() { return ["newbie"] }
get skinName() { return "newbie" }
initUi() {
}
async start(data) {
super.start()
}
initEvents() {
super.initEvents();
}
removeEvents() {
super.removeEvents();
}
}
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