summaryrefslogtreecommitdiff
path: root/canevas.h
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-01-16 02:51:22 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2023-01-16 02:51:22 -0500
commite37d4911c750550896c4155f452736200d977b83 (patch)
treed9aa75757d6bb22e0b1e2a55b7cc047f9e961662 /canevas.h
parent766f377da3f63ea674ae3903c95cf0b512834049 (diff)
Almost done...
Diffstat (limited to 'canevas.h')
-rw-r--r--canevas.h23
1 files changed, 9 insertions, 14 deletions
diff --git a/canevas.h b/canevas.h
index 64b833a..6ccd68a 100644
--- a/canevas.h
+++ b/canevas.h
@@ -22,22 +22,17 @@ class Canevas {
public:
Canevas();
~Canevas();
-
- bool reinitialiser();
-
- bool activerCouche(int index);
- bool cacherCouche(int index);
-
- bool ajouterForme(Forme *p_forme);
- bool retirerForme(int index);
-
+ bool reinitialiser();
+ bool activerCouche(int index);
+ bool ajouterForme(Forme *p_forme);
+ bool retirerForme(int index);
double aire();
- bool translater(int deltaX, int deltaY);
- void afficher(ostream & s);
- bool reinitialiserCouche(int index);
-
+ bool translater(int deltaX, int deltaY);
+ void afficher(ostream &s);
+ void getEtats(ostream &s);
+ bool reinitialiserCouche(int index);
private:
- Couche couches[MAX_COUCHES];
+ Couche couches[MAX_COUCHES];
};
#endif