aboutsummaryrefslogtreecommitdiff
path: root/src/ch/epfl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ch/epfl')
-rw-r--r--src/ch/epfl/xblast/Cell.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ch/epfl/xblast/Cell.java b/src/ch/epfl/xblast/Cell.java
index 7673f4f..813bd5f 100644
--- a/src/ch/epfl/xblast/Cell.java
+++ b/src/ch/epfl/xblast/Cell.java
@@ -162,9 +162,9 @@ public final class Cell {
162 case S: 162 case S:
163 return new Cell(this.x, this.y + 1); 163 return new Cell(this.x, this.y + 1);
164 case E: 164 case E:
165 return new Cell(this.x - 1, this.y);
166 case W:
167 return new Cell(this.x + 1, this.y); 165 return new Cell(this.x + 1, this.y);
166 case W:
167 return new Cell(this.x - 1, this.y);
168 default: 168 default:
169 return null; 169 return null;
170 } 170 }