This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2023-12-25 02:06:56 +08:00
parent 516d520c5e
commit 5366e3413c
18 changed files with 1054 additions and 441 deletions

View File

@@ -10,6 +10,8 @@ import { CCObject } from "cc";
import { Env, EnvCurrent } from "../Env";
import { TB } from "../config/data/schema";
import BattleResource from "../tools/BattleResource";
import { director } from "cc";
import { game } from "cc";
export enum BattleMode{
//无尽模式
@@ -127,6 +129,7 @@ export default class GBattleModeManager extends Singleton {
//资源加载完成则显示世界
app.sync.onReset();
game.step();
app.sync.onStart();
}