protected virtual void CreateBaseComponent()
 {
     _physicalBase = CreatePhysicalBase();
     //目前只引发移动事件
     _moveComponent = new MoveComponentBase(_physicalBase);
     //目前只有最大速度
     _invariantAttributeComponent = new InvariantAttributeComponentBase();
 }
 public InvariantAttributeComponentBase(InvariantAttributeComponentBase clone)
 {
     this.maxSpeed        = clone.maxSpeed;
     this.maxForceProc    = clone.maxForceProc;
     this.camp            = clone.camp;
     this.initData        = clone.initData;
     this.BoomDataPackage = clone.BoomDataPackage;
 }
 public virtual void Dispose()
 {
     level = null;
     _physicalBase.Dispose();
     _physicalBase = null;
     _moveComponent.Dispose();
     _moveComponent = null;
     _invariantAttributeComponent = null;
 }