diff options
author | Nao Pross <naopross@thearcway.org> | 2018-02-10 14:41:49 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-02-10 14:41:49 +0100 |
commit | d677dbead66c2c52c2ffc51a64ece0a06114d2ad (patch) | |
tree | 188a7a6fc693dd47de18648577fba3c247361f2c /src/main/java/Tile.java | |
parent | Implement barebone game engine (diff) | |
download | Subconscious-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.java | 15 |
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; + } +} |