/** @format */ import {ComType, EntityIndex} from '../lib/Const' import {ECSComponent} from '../lib/ECSComponent' import {IFrameAniConfig} from '../../config/FrameAniConfig' @ECSComponent(ComType.ComFrameAni) export class ComFrameAni { aniConfig: IFrameAniConfig public countDown: number // 动画剩余时间 public dirty: boolean role: EntityIndex //特效对象 lineStartPos: cc.Vec2 //起始点 lineStartEntity: EntityIndex //连线特效起点对象 lineEndEntity: EntityIndex //连线特效终点对象 }