diff options
Diffstat (limited to 'inc/rectangle.hpp')
-rw-r--r-- | inc/rectangle.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/inc/rectangle.hpp b/inc/rectangle.hpp new file mode 100644 index 0000000..9e5ef9b --- /dev/null +++ b/inc/rectangle.hpp @@ -0,0 +1,15 @@ +#ifndef rectangle_h +#define rectangle_h + +class Rectangle +{ + public: + Rectangle(){x=y=w=h=0;}; + Rectangle(float x1, float y1, float w1, float h1){x=x1;y=y1;w=w1;h1=h;}; + float x; + float y; + float w; + float h; +}; + +#endif |