1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#ifndef POINT_H #define POINT_H #include "velocity.h" class Point { private: float x; float y; public: Point(); Point(const float x, const float y); void setX(const float x); void setY(const float y); float getX(); float getY(); void update(Velocity &vel); }; #endif