Skip to content
Snippets Groups Projects
Commit aae48ca5 authored by CARION Baptiste's avatar CARION Baptiste
Browse files

Retablissement icone

parent d421f2f7
No related branches found
No related tags found
No related merge requests found
......@@ -99,21 +99,21 @@ public class Case {
}
public String toString() {
/*
if (!this.isDecouverte()) {
return "~ ";
}
else */if (this.getItem() != null && this.getItem().getName().equalsIgnoreCase("crown")) {
else if (this.getItem() != null && this.getItem().getName().equalsIgnoreCase("crown")) {
return "c ";
}
else if (this.type == Type.GRASS) {
return ". ";
}
else if (this.type == Type.MOUNTAIN) {
return "m ";
return "Ѧ ";
}
else if (this.type == Type.FORT) {
return "t ";
return " ";
}
else if (this.type == Type.CAMP) {
return "O ";
......
package main;
public enum Type {
UNITE,GRASS, MOUNTAIN, CAMP, FORT;
UNITE,GRASS, MOUNTAIN, CAMP, VILLAGE, FORT;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment