diff options
author | Nao Pross <naopross@thearcway.org> | 2018-11-20 14:15:18 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-11-20 14:15:18 +0100 |
commit | a2d0912207a65b5b263e2b064b5e112d0c83acec (patch) | |
tree | d64f18718b47ca660f154db382c3d1c738c82236 /src | |
parent | Suppress serialVersionUID warning (diff) | |
download | Subconscious-java-a2d0912207a65b5b263e2b064b5e112d0c83acec.tar.gz Subconscious-java-a2d0912207a65b5b263e2b064b5e112d0c83acec.zip |
Make x y members of Tile public
Diffstat (limited to '')
-rw-r--r-- | src/subconscious/Tile.java | 4 |
1 files 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; } |