Advertisement
Shaco74

MyFilledRectangle.h

Jan 4th, 2022
860
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. #include "MyRectangle.h"
  2.  
  3. class MyFilledRectangle : public MyRectangle  {
  4. public:
  5.     MyFilledRectangle(int px1 = 0, int py1 = 0, int px2 = 20, int py2 = 20);
  6.     void draw() const;
  7.     bool does_not_collide_with(const MyFilledRectangle& other) const;
  8. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement