/** @format */ import {ECSComponent} from '../lib/ECSComponent' import {ComType, EntityIndex} from '../lib/Const' import {ISkillConfig} from '../../config/SkillConfig' @ECSComponent(ComType.ComSkillAbel) export class ComSkillAbel { dirty: boolean //处于技能动作的entity skillDirty: boolean //技能放完了 startDirty: boolean //技能动作开始 castSkillTime: number //施放技能时间 // 技能施放对象 public roles: EntityIndex[] = [] // 技能施放配置 public skillConfig: ISkillConfig countDown: number //在顶盾技能状态中 isInShield: boolean //区域技能子弹坐标 skillBulletPos: cc.Vec2 //多段子弹时间 skillBulletTime: number //多段子弹创建数量 skillBulletNum: number //群体技能施放位置 skillPos: cc.Vec2 //特效ID ani: EntityIndex //技能子弹ID bullets: EntityIndex[] }