revert Merge branch 'main' of https://grond.iut-fbleau.fr/stiti/SAE31_2024
This commit is contained in:
2024-11-16 18:45:51 +01:00
parent 6232e6f93e
commit e9a5543328
26 changed files with 437 additions and 74 deletions

View File

@@ -0,0 +1,19 @@
package model;
public class Tile {
private String type; // Par exemple : "forêt", "rivière", "champ", etc.
private String[] edges; // Les types des bords de la tuile (ex: "eau", "terre")
public Tile(String type, String[] edges) {
this.type = type;
this.edges = edges;
}
public String getType() {
return type;
}
public String getEdge(int index) {
return edges[index];
}
}