summaryrefslogtreecommitdiff
path: root/cercle.h
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 /cercle.h
parent3fb8effa3603e9a9b96d263009fc1397433436ba (diff)
Everything works before validation
Diffstat (limited to 'cercle.h')
-rw-r--r--cercle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cercle.h b/cercle.h
index c4a5923..1254193 100644
--- a/cercle.h
+++ b/cercle.h
@@ -3,11 +3,11 @@
#include "forme.h"
-class Cercle:Forme {
+class Cercle:public Forme {
private:
int rayon;
public:
- Cercle(int x, int y, int r);
+ Cercle(int x=0, int y=0, int r=1);
~Cercle();
void setRayon(int r);
int getRayon();