summaryrefslogtreecommitdiff
path: root/inc/rectangle.hpp
blob: 9e5ef9bcd50a33c3f00b112bbdc85b07257d7a6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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