señal de parada de captura de java
Runtime.getRuntime().addShutdownHook(new Thread(() -> System.out.println("Game over")));
Im_Arxus
Runtime.getRuntime().addShutdownHook(new Thread(() -> System.out.println("Game over")));