summaryrefslogtreecommitdiff
path: root/rectangle.cpp
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-01-13 14:52:41 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2023-01-13 14:52:41 -0500
commitd0bde3c60fa911ac0bb0f71ce2a6a963c874392e (patch)
treeddcc00fab2749cc7b4110eed9f69189b6fcc7422 /rectangle.cpp
parent3fb8effa3603e9a9b96d263009fc1397433436ba (diff)
Everything works before validation
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);
};