summaryrefslogtreecommitdiff
path: root/couche.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 /couche.h
parent766f377da3f63ea674ae3903c95cf0b512834049 (diff)
Almost done...
Diffstat (limited to 'couche.h')
-rw-r--r--couche.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/couche.h b/couche.h
index 4ef44a2..ec71444 100644
--- a/couche.h
+++ b/couche.h
@@ -19,18 +19,15 @@
class Couche {
private:
- int state;
+ int state;
Vecteur vecteur;
public:
- // Initialisation
Couche();
~Couche();
- // Informations
int getEtat();
Forme *getForme(int index);
double aire();
void afficher(ostream &s);
- // Modifications
bool changerEtat(int newState);
bool translater(int deltaX, int deltaY);
bool ajouterForme(Forme *f);