forked from menault/TD3_DEV51_Qualite_Algo
main
This commit is contained in:
17
Jeu_pendu/Main/Main.java
Normal file
17
Jeu_pendu/Main/Main.java
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
package main;
|
||||||
|
|
||||||
|
import front.GameUI;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Point d'entrée du programme.
|
||||||
|
* Lance l'interface graphique du jeu du pendu.
|
||||||
|
*/
|
||||||
|
public class Main {
|
||||||
|
public static void main(String[] args) {
|
||||||
|
// Démarre l'UI Swing sur le thread de l'EDT
|
||||||
|
javax.swing.SwingUtilities.invokeLater(() -> {
|
||||||
|
GameUI ui = new GameUI();
|
||||||
|
ui.show();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user