import FMap from "../map/FMap"; import FF from "../FF"; /** * 精灵基类 */ const {ccclass, property} = cc._decorator; /** * 阵营类型 */ export const GroupType = cc.Enum({ N: 'map',//第三方 A: 'A',//己方 B: 'B',//敌方 }); @ccclass export default class FObject extends cc.Component { @property id:number = 0;//编号 public ff:FF public map:FMap; }