From aae48ca58460cc15b5bdc638a73b73e19b61b676 Mon Sep 17 00:00:00 2001 From: CARION Baptiste <baptiste.carion@sfr.fr> Date: Wed, 2 Sep 2020 09:47:30 +0200 Subject: [PATCH] Retablissement icone --- src/main/Case.java | 8 ++++---- src/main/Type.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/Case.java b/src/main/Case.java index 1f4f7b6..34bfb49 100644 --- a/src/main/Case.java +++ b/src/main/Case.java @@ -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 "; diff --git a/src/main/Type.java b/src/main/Type.java index bdfacc4..9f0fb3e 100644 --- a/src/main/Type.java +++ b/src/main/Type.java @@ -1,5 +1,5 @@ package main; public enum Type { - UNITE,GRASS, MOUNTAIN, CAMP, FORT; + UNITE,GRASS, MOUNTAIN, CAMP, VILLAGE, FORT; } -- GitLab