Signal d'arrêt Java Catch

Runtime.getRuntime().addShutdownHook(new Thread(() -> System.out.println("Game over")));
Im_Arxus