diff --git a/Point.h b/Point.h new file mode 100644 index 0000000..2f7ce72 --- /dev/null +++ b/Point.h @@ -0,0 +1,20 @@ +#pragma once + +class Point +{ +private: + float m_x, m_y; + +public: + Point(float x, float y) : m_x(x), m_y(y) {} + + float x() + { + return m_x; + } + + float y() + { + return m_y; + } +}; \ No newline at end of file