aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/Tile.java
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-02-10 14:41:49 +0100
committerNao Pross <naopross@thearcway.org>2018-02-10 14:41:49 +0100
commitd677dbead66c2c52c2ffc51a64ece0a06114d2ad (patch)
tree188a7a6fc693dd47de18648577fba3c247361f2c /src/main/java/Tile.java
parentImplement barebone game engine (diff)
downloadSubconscious-old-d677dbead66c2c52c2ffc51a64ece0a06114d2ad.tar.gz
Subconscious-old-d677dbead66c2c52c2ffc51a64ece0a06114d2ad.zip
Switch to gradle, update gitignore
Diffstat (limited to 'src/main/java/Tile.java')
-rw-r--r--src/main/java/Tile.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/java/Tile.java b/src/main/java/Tile.java
new file mode 100644
index 0000000..cbdeda4
--- /dev/null
+++ b/src/main/java/Tile.java
@@ -0,0 +1,15 @@
+public class Tile {
+
+ public enum Type {
+ GRASS,
+ };
+
+ public final int x, y;
+ public final Type type;
+
+ public Tile(Type type, int x, int y) {
+ this.type = type;
+ this.x = x;
+ this.y = y;
+ }
+}