From e37d4911c750550896c4155f452736200d977b83 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Mon, 16 Jan 2023 02:51:22 -0500 Subject: Almost done... --- canevas.h | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) (limited to 'canevas.h') 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 -- cgit v1.2.3