summaryrefslogtreecommitdiff
path: root/canevas.h
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-01-16 03:26:28 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2023-01-16 03:26:28 -0500
commit20ae6ae3f82a4eeeb123d9c1f895f10c8967f44b (patch)
treeda18c55250fb9f544b5b67aacc1a3fab4a7ccf75 /canevas.h
parent267868847b0885f60aaae43afd4f54ce028181d8 (diff)
parent5f8fa959dab1106105f9e58325f65d0b51bb1631 (diff)
Merge branch 'development'
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