test pour afficher les tuiles d'une manière différente

This commit is contained in:
2024-11-16 10:12:24 +01:00
parent dd14eaab2e
commit 22cf8adf3f
9 changed files with 238 additions and 14 deletions

15
TestV1/Main.java Normal file
View 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();
}
}