LD
Carre.cpp@0:c6f0cfb2e2fd, 2017-03-30 (annotated)
- Committer:
- Taliarte
- Date:
- Thu Mar 30 07:23:10 2017 +0000
- Revision:
- 0:c6f0cfb2e2fd
f;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Taliarte | 0:c6f0cfb2e2fd | 1 | #include "Carre.h" |
Taliarte | 0:c6f0cfb2e2fd | 2 | |
Taliarte | 0:c6f0cfb2e2fd | 3 | Carre ::~Carre(){ |
Taliarte | 0:c6f0cfb2e2fd | 4 | // destructeur |
Taliarte | 0:c6f0cfb2e2fd | 5 | } |
Taliarte | 0:c6f0cfb2e2fd | 6 | Carre::Carre() |
Taliarte | 0:c6f0cfb2e2fd | 7 | { |
Taliarte | 0:c6f0cfb2e2fd | 8 | _couleur=0; |
Taliarte | 0:c6f0cfb2e2fd | 9 | _statut=0; |
Taliarte | 0:c6f0cfb2e2fd | 10 | } |
Taliarte | 0:c6f0cfb2e2fd | 11 | |
Taliarte | 0:c6f0cfb2e2fd | 12 | Carre::Carre(int couleur) |
Taliarte | 0:c6f0cfb2e2fd | 13 | { |
Taliarte | 0:c6f0cfb2e2fd | 14 | _couleur=couleur; |
Taliarte | 0:c6f0cfb2e2fd | 15 | _statut=true; |
Taliarte | 0:c6f0cfb2e2fd | 16 | } |