2001-12-24 13:54:03 +00:00
|
|
|
#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);
|
2002-02-20 04:27:22 +00:00
|
|
|
virtual bool isRunning();
|
|
|
|
virtual bool isCranking();
|
2001-12-24 13:54:03 +00:00
|
|
|
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
|