From a2d0912207a65b5b263e2b064b5e112d0c83acec Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Tue, 20 Nov 2018 14:15:18 +0100 Subject: Make x y members of Tile public --- src/subconscious/Tile.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/subconscious/Tile.java b/src/subconscious/Tile.java index 2678043..79a8a83 100644 --- a/src/subconscious/Tile.java +++ b/src/subconscious/Tile.java @@ -7,8 +7,7 @@ public class Tile { CLEAR, GRASS, WATER, MOUNTAIN, NONE }; - // TODO: make public - private final int x, y; + public final int x, y; // TODO: make final private Type type; // TODO: refractor to inRange; @@ -67,6 +66,7 @@ public class Tile { this.distance = distance; } + // TODO: remove actor? public double getCost(Actor actor) { return this.cost; } -- cgit v1.2.1