ComHasSkill.ts 416 B

123456789101112131415
  1. /** @format */
  2. import {ComType, EntityIndex} from '../lib/Const'
  3. import {ECSComponent} from '../lib/ECSComponent'
  4. import {cObject} from '../../collision/Object'
  5. import {ISkillConfig} from '../../config/SkillConfig'
  6. @ECSComponent(ComType.ComHasSkill)
  7. export class ComHasSkill {
  8. //所有的技能碰撞体
  9. public skillCObjects: cObject[] = []
  10. // 技能施放配置
  11. public skillConfig: ISkillConfig
  12. }