summaryrefslogtreecommitdiff
path: root/src/point.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/point.h')
-rw-r--r--src/point.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/point.h b/src/point.h
new file mode 100644
index 0000000..31fdf3e
--- /dev/null
+++ b/src/point.h
@@ -0,0 +1,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