]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/PropEngine.hpp
Add support for a turbo prop condition lever.
[flightgear.git] / src / FDM / YASim / PropEngine.hpp
index 92ad8549ec545be06a1be32902bb64d26a0cac6b..2e9e7c3c654acdb282d95cb2f2a1cccc462cb015 100644 (file)
@@ -2,21 +2,24 @@
 #define _PROPENGINE_HPP
 
 #include "Thruster.hpp"
+#include "Engine.hpp"
 
 namespace yasim {
 
 class Propeller;
-class Engine;
 
 class PropEngine : public Thruster {
 public:
     PropEngine(Propeller* prop, Engine* eng, float moment);
     virtual ~PropEngine();
 
+    void setEngine(Engine* eng) { delete _eng; _eng = eng; }
+
     void setMagnetos(int magnetos);
     void setAdvance(float advance);
     void setPropPitch(float proppitch);
     void setVariableProp(float min, float max);
+    void setPropFeather(int state);
     void setGearRatio(float ratio) { _gearRatio = ratio; }
 
     virtual PropEngine* getPropEngine() { return this; }