This commit is contained in:
martins 2022-10-20 13:55:39 +02:00
parent b28b1e4ffe
commit 6f7dd612b8

View File

@ -10,13 +10,11 @@ import fr.iutfbleau.projetAgile.View.Menu;
public class Main {
public static void main(String[] args) {
JFrame frame = new JFrame();
JFrame frame = Menu.getFrame();
frame.setLocation(200, 200);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(new Dimension(1280,720));
CardLayout cd=new CardLayout();
frame.setLayout(cd);
Menu menu=new Menu(cd, frame);
JPanel menu=Menu.InitMenu();
Grille g = new Grille();
GrilleModel m = new GrilleModel();
Puissance4Controller p = new Puissance4Controller(g, m);