diff options
Diffstat (limited to 'src/acceleration.h')
-rw-r--r-- | src/acceleration.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/acceleration.h b/src/acceleration.h new file mode 100644 index 0000000..0186a19 --- /dev/null +++ b/src/acceleration.h @@ -0,0 +1,18 @@ +#ifndef ACCELERATION_H +#define ACCELERATION_H + +class Acceleration { + private: + float d2x; + float d2y; + public: + Acceleration(); + Acceleration(const float d2x, const float d2y); + void setD2x(const float d2x); + void setD2y(const float d2y); + float getD2x(); + float getD2y(); + void addAcceleration(Acceleration &acc); +}; + +#endif |