test pour afficher les tuiles d'une manière différente
This commit is contained in:
15
TestV1/Main.java
Normal file
15
TestV1/Main.java
Normal file
@@ -0,0 +1,15 @@
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
// Exemple : création d'une tuile avec deux terrains
|
||||
Tile tile = new Tile(Terrain.MER, Terrain.FORET, 1);
|
||||
|
||||
// Vue graphique
|
||||
GameView view = new GameView(tile);
|
||||
|
||||
// Contrôleur
|
||||
GameController controller = new GameController(view);
|
||||
|
||||
// Démarrer le jeu
|
||||
controller.startGame();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user