Fix indexes confusion

This commit is contained in:
antograb committed 2017-12-18 16:32:47 +01:00
1 parent d9b52c35e2
commit 213071d3c2
4 files changed
+69 -48

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ public abstract class Box
private Maze maze ;
private ArrayList<Box> neighbourList = new ArrayList<Box>() ;
public Box (String label, int x, int y, Maze maze) {
public Box (String label, int y , int x, Maze maze) { //y first because of graphical maze representation
this.label = label ;
this.x = x ;