aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/Tile.java
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-02-10 19:40:08 +0100
committerNao Pross <naopross@thearcway.org>2018-02-10 19:40:08 +0100
commit221aec874940378f5d8b6411e8b5c141816d5a1e (patch)
tree4ca7cb54583d50666d4e17230a505739813a3ab5 /src/main/java/Tile.java
parentAdd missing @Override(s) (diff)
downloadSubconscious-old-221aec874940378f5d8b6411e8b5c141816d5a1e.tar.gz
Subconscious-old-221aec874940378f5d8b6411e8b5c141816d5a1e.zip
Add simple mouseclick listener to scenes
Diffstat (limited to '')
-rw-r--r--src/main/java/Tile.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/Tile.java b/src/main/java/Tile.java
index 1a95820..a5e0daa 100644
--- a/src/main/java/Tile.java
+++ b/src/main/java/Tile.java
@@ -7,6 +7,8 @@ public class Tile {
public final int x, y;
public final Type type;
+ public boolean selected = false;
+
public Tile(Type type, int x, int y) {
this.type = type;
this.x = x;