|
|
|
@ -48,7 +48,7 @@ objet jouet
|
|
|
|
|
ceci->nom = nom;
|
|
|
|
|
ceci->type = type;
|
|
|
|
|
ceci->localisation = localisation;
|
|
|
|
|
ceci->poids = poids;
|
|
|
|
|
ceci->prix = prix;
|
|
|
|
|
ceci->stock = 0;
|
|
|
|
|
fin methode
|
|
|
|
|
|
|
|
|
@ -65,7 +65,7 @@ objet jouet
|
|
|
|
|
fin methode;
|
|
|
|
|
|
|
|
|
|
methode donne_stock()
|
|
|
|
|
renvoyer ceci->prix;
|
|
|
|
|
renvoyer ceci->stock;
|
|
|
|
|
fin methode;
|
|
|
|
|
fin objet
|
|
|
|
|
|
|
|
|
|