virtual bool init(bool search_in_AI_path=false);
virtual void bind();
- virtual void unbind();
virtual void update(double dt);
- void addMotionInfo(const FGExternalMotionData& motionInfo, long stamp);
+ void addMotionInfo(FGExternalMotionData& motionInfo, long stamp);
void setDoubleProperty(const std::string& prop, double val);
long getLastTimestamp(void) const
double mTimeOffset;
bool mTimeOffsetSet;
+ double lastUpdateTime;
+
/// Properties which are for now exposed for testing
bool mAllowExtrapolation;
double mLagAdjustSystemSpeed;
long mLastTimestamp;
- // Propertiies for tankers
+ // Properties for tankers
SGPropertyNode_ptr refuel_node;
bool isTanker;
bool contact; // set if this tanker is within fuelling range
+
+ // velocities/u,v,wbody-fps
+ SGPropertyNode_ptr _uBodyNode;
+ SGPropertyNode_ptr _vBodyNode;
+ SGPropertyNode_ptr _wBodyNode;
};
#endif // _FG_AIMultiplayer_HXX