This commit is contained in:
Minh VU
2024-12-03 16:15:49 +01:00
parent 78c388ca9d
commit f47f77dc00

View File

@@ -10,7 +10,7 @@ public class Client extends Thread {
public void run(){
try{
entrer();
for(int i = 0; i<this.restaurant.buffet.length; i++){
prendre_portion(this.restaurant.buffet[i]);
@@ -18,7 +18,9 @@ public class Client extends Thread {
cuir_au_stand(restaurant.stand_de_cuisson);
manger();
sort();
}catch (Exception e){
e.printStackTrace();
}
}
public void prendre_portion(Compartiment compartiment){