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