dd
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user