diff options
Diffstat (limited to 'src/velocity.h')
-rw-r--r-- | src/velocity.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/velocity.h b/src/velocity.h deleted file mode 100644 index 11c41cb..0000000 --- a/src/velocity.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef VELOCITY_H -#define VELOCITY_H - -#include "point.h" - -class Velocity -{ - public: - Velocity(); - Velocity( float dx , float dy ); - float getDx() const; - float getDy() const; - void addDy( const float dy ); - void addDx( const float dx ); - void setDx( float dx ); - void setDy( float dy ); - Point updatePoint ( Point &point ); - private: - float dx; - float dy; -}; - -#endif |