1 #ifndef _PROPENGINE_HPP
2 #define _PROPENGINE_HPP
4 #include "Thruster.hpp"
11 class PropEngine : public Thruster {
13 PropEngine(Propeller* prop, PistonEngine* eng, float moment);
14 virtual ~PropEngine();
16 virtual Thruster* clone();
19 virtual void getThrust(float* out);
20 virtual void getTorque(float* out);
21 virtual void getGyro(float* out);
22 virtual float getFuelFlow();
24 // Runtime instructions
25 virtual void integrate(float dt);
34 float _omega; // RPM, in radians/sec
42 #endif // _PROPENGINE_HPP