mirror of
https://forge.univ-lyon1.fr/tplifap4/gyromite_ya.git
synced 2024-02-27 13:31:49 +01:00
setup project
This commit is contained in:
21
src/Main.java
Normal file
21
src/Main.java
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
import VueControleur.VueControleurGyromite;
|
||||
import modele.plateau.Jeu;
|
||||
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
Jeu jeu = new Jeu();
|
||||
|
||||
VueControleurGyromite vc = new VueControleurGyromite(jeu);
|
||||
|
||||
jeu.getOrdonnanceur().addObserver(vc);
|
||||
|
||||
vc.setVisible(true);
|
||||
jeu.start(300);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user