diff --git a/java/Map.java b/java/Map.java index d7ff9ee..2e737c8 100644 --- a/java/Map.java +++ b/java/Map.java @@ -1,7 +1,11 @@ public class Map { private Tile[][] tiles; + private int wWidth; + private int wHeight; public Map(int width, int height, int wWidth, int wHeight, Tile empty, Tile wall) { + this.wWidth = wWidth; + this.wHeight = wHeight; int fullHeight = height + (2 * wHeight); int fullWidth = width + (2 * wWidth); Tile[][] map = new Tile[fullHeight][fullWidth];