summaryrefslogtreecommitdiff
path: root/src/ch/epfl/maze/util
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2015-11-24 18:32:47 +0100
committerPacien TRAN-GIRARD2015-11-24 18:34:15 +0100
commit7a71ddfd0a103abeab1280aa33583d28f7e8e756 (patch)
tree413c507273782b12a7a9fa304a680d09dc2e5515 /src/ch/epfl/maze/util
parent9bec90d20c20b01e94a8b5d8364bbe60f9687f05 (diff)
downloadmaze-solver-7a71ddfd0a103abeab1280aa33583d28f7e8e756.tar.gz
Refactor Panda A.I.
Diffstat (limited to 'src/ch/epfl/maze/util')
-rw-r--r--src/ch/epfl/maze/util/Trail.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ch/epfl/maze/util/Trail.java b/src/ch/epfl/maze/util/Trail.java
index ed806c5..33e0975 100644
--- a/src/ch/epfl/maze/util/Trail.java
+++ b/src/ch/epfl/maze/util/Trail.java
@@ -54,7 +54,7 @@ public class Trail {
54 */ 54 */
55 public Marking getMarking(Vector2D position) { 55 public Marking getMarking(Vector2D position) {
56 Marking marking = this.trail.get(position); 56 Marking marking = this.trail.get(position);
57 return marking != null ? marking : Marking.DEFAULT; 57 return marking != null ? marking : Marking.NO_MARKING;
58 } 58 }
59 59
60 /** 60 /**