Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "MyRectangle.h"
- class MyFilledRectangle : public MyRectangle {
- public:
- MyFilledRectangle(int px1 = 0, int py1 = 0, int px2 = 20, int py2 = 20);
- void draw() const;
- bool does_not_collide_with(const MyFilledRectangle& other) const;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement