添加role 删除多余地图文件

This commit is contained in:
2024-08-23 10:35:15 +08:00
parent a97f6bfa80
commit e0431b6fad
55 changed files with 2323 additions and 3343 deletions

View File

@@ -5,12 +5,11 @@ import { smc } from "../../common/SingletonModuleComp";
import { BoxSet } from "../../common/config/BoxSet";
import { Hero } from "../../monster/Hero";
import { Monster } from "../../monster/Monster";
// import MapRoadUtils from "./map/road/MapRoadUtils";
import { MapViewScene } from "./MapViewScene";
import { Timer } from "../../../../../extensions/oops-plugin-framework/assets/core/common/timer/Timer";
import { oops } from "../../../../../extensions/oops-plugin-framework/assets/core/Oops";
import { CardSet } from "../../common/config/CardSet";
import { Role } from "../../Role/Role";
const { ccclass, property } = _decorator;
@ccclass('MapViewComp')
@@ -43,7 +42,8 @@ export class MapViewComp extends CCComp {
this.load_role()
}
load_role(){
let role = ecs.getEntity<Role>(Role);
role.load()
}
load_data(){
// let heros = oops.res.get("config/game/heros")