summaryrefslogtreecommitdiff
path: root/rectangle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rectangle.cpp')
-rw-r--r--rectangle.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/rectangle.cpp b/rectangle.cpp
index f1d23da..a70bfe4 100644
--- a/rectangle.cpp
+++ b/rectangle.cpp
@@ -1,8 +1,6 @@
#include "rectangle.h"
-Rectangle::Rectangle(int x, int y, int w, int h){
- Coordonnee xy = {x, y};
- setAncrage(xy);
+Rectangle::Rectangle(int x, int y, int w, int h):Forme(x, y){
setLargeur(w);
setHauteur(h);
};