n/a
Diff: Square.cpp
- Revision:
- 1:f72e3e1af03d
- Parent:
- 0:202298a7e6bc
--- a/Square.cpp Tue Mar 22 09:30:17 2016 +0000 +++ b/Square.cpp Tue Mar 22 10:18:36 2016 +0000 @@ -5,11 +5,4 @@ Square::Square(float size) : Rectangle(size, size) { - this->width = size; - this->height = size; } - -float Square::getArea() -{ - return width * height; -} \ No newline at end of file