Pair Programming Bamba David Vincent

This commit is contained in:
2024-10-24 17:59:46 +02:00
parent 40f4881b32
commit 0513256860
20 changed files with 60 additions and 24 deletions

View File

@@ -1,6 +1,7 @@
package view;
import model.Tile;
import model.TerrainType; // Ajout de l'import pour TerrainType
import javax.swing.*;
import java.awt.*;
@@ -84,7 +85,7 @@ public class HexagonTile extends JPanel {
}
// Obtenir la couleur en fonction du type de terrain
private Color getTerrainColor(Tile.TerrainType terrain) {
private Color getTerrainColor(TerrainType terrain) {
switch (terrain) {
case MER:
return Color.BLUE;