1
0
Fork 0
flightgear/src/FDM/YASim/SimpleJet.hpp
david ad79ee4897 Added minimal support for magnetos, so that engines can be shut off.
The starter isn't working yet, so the engine just springs to life.
2002-02-20 04:27:22 +00:00

27 lines
621 B
C++

#ifndef _SIMPLEJET_HPP
#define _SIMPLEJET_HPP
#include "Thruster.hpp"
namespace yasim {
// As simple a Thruster subclass as you can find. It makes thrust. Period.
class SimpleJet : public Thruster
{
public:
SimpleJet();
void setThrust(float thrust);
virtual bool isRunning();
virtual bool isCranking();
virtual void getThrust(float* out);
virtual void getTorque(float* out);
virtual void getGyro(float* out);
virtual float getFuelFlow();
virtual void integrate(float dt);
virtual void stabilize();
private:
float _thrust;
};
}; // namespace yasim
#endif // _SIMPLEJET_HPP