This commit is contained in:
2025-05-28 16:59:59 +08:00
parent ba05b59f4d
commit 6a185a2361
12 changed files with 1824 additions and 9 deletions

View File

@@ -10,6 +10,8 @@ import { CardControllerComp } from "./CardController";
import { GameEvent } from "../common/config/GameEvent";
import { HeroSkillsComp } from "../skill/heroSkillsComp";
import { HeroViewComp } from "../hero/HeroViewComp";
import { Hero } from "../hero/Hero";
import { HartModelComp } from "../hero/HartModelComp";
const { ccclass, property } = _decorator;
/** 视图层对象 */
@@ -111,6 +113,8 @@ export class MissionComp extends CCComp {
hp:0,//血量
ap:0,//攻击
}
let hero = ecs.getEntity<Hero>(Hero);
hero.hart_load()
}