#ifndef _HITCH_HPP
#define _HITCH_HPP
-class SGPropertyNode;
+
+#include <string>
+
+#include <Main/fg_props.hxx>
+#include <simgear/props/tiedpropertylist.hxx>
+
namespace yasim {
class Ground;
void integrate (float dt);
- const char *getConnectedPropertyNode() const;
+ std::string getConnectedPropertyNode() const;
void setConnectedPropertyNode(const char *nodename);
private:
State* _state;
float _dist;
float _timeLagCorrectedDist;
- SGPropertyNode *_towEndNode;
+ SGPropertyNode_ptr _towEndNode;
const char *_towEndPropertyName;
bool _towEndIsConnectedToProperty;
bool _nodeIsMultiplayer;
float _mp_force[3];
bool _mp_is_slave;
bool _mp_open_last_state;
-
+
bool _displayed_len_lower_dist_message;
bool _last_wish;
+ SGPropertyNode_ptr _node;
+ simgear::TiedPropertyList _tiedProperties;
};
}; // namespace yasim