resolution probleme lié au conflit git
This commit is contained in:
33
TestV1/TestEnAttendantResolutionBug/src/model/Tile.java
Normal file
33
TestV1/TestEnAttendantResolutionBug/src/model/Tile.java
Normal file
@@ -0,0 +1,33 @@
|
||||
package model;
|
||||
|
||||
/**
|
||||
* Classe représentant une tuile du jeu.
|
||||
*/
|
||||
public class Tile {
|
||||
private final Terrain terrain;
|
||||
|
||||
/**
|
||||
* Constructeur pour une tuile.
|
||||
*
|
||||
* @param terrain Le type de terrain de la tuile.
|
||||
*/
|
||||
public Tile(Terrain terrain) {
|
||||
this.terrain = terrain;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtient le terrain de la tuile.
|
||||
*
|
||||
* @return Le terrain de la tuile.
|
||||
*/
|
||||
public Terrain getTerrain() {
|
||||
return terrain;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Tile{" +
|
||||
"terrain=" + terrain +
|
||||
'}';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user