#ifndef VELOCITY_H #define VELOCITY_H #include "acceleration.h" class Velocity { private: float dx; float dy; public: Velocity(); Velocity(const float dx, const float dy); void setDx(const float dx); void setDy(const float dy); float getDx(); float getDy(); void addVelocity(Velocity &vel); void update(Acceleration &acc); }; #endif