/** @format */ import {ComType, EntityIndex} from '../lib/Const' import {ECSComponent} from '../lib/ECSComponent' @ECSComponent(ComType.ComMovable) export class ComMovable { public speed = 0 public points: cc.Vec2[] = [] public pointIdx = 0 public closeTarget: EntityIndex public leftMeleeEnemiesPosDirty: number[] public rightMeleeEnemiesPosDirty: number[] }