mirror of
https://github.com/guezoloic/racing-game.git
synced 2026-03-28 18:03:50 +00:00
feat(Game): ajout fin message
This commit is contained in:
@@ -266,6 +266,13 @@ public class Game
|
|||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
System.out.println("Fini!\nVoici le score :");
|
||||||
|
for (Car c : cars)
|
||||||
|
{
|
||||||
|
System.out.println(c.getName() + "\t" + c.getScore());
|
||||||
|
}
|
||||||
|
System.exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ArrayList<Car> getCars()
|
public ArrayList<Car> getCars()
|
||||||
|
|||||||
Reference in New Issue
Block a user