diff options
author | Nao Pross <naopross@thearcway.org> | 2018-02-10 13:44:36 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-02-10 13:44:36 +0100 |
commit | 7eb82d91aa34aba1a20bc47e726dffc50cdee0c4 (patch) | |
tree | a5bfca8521fd1ce7ff49981f4dc6d17cefbe336d /src/Tile.java | |
parent | First commit (diff) | |
download | Subconscious-old-7eb82d91aa34aba1a20bc47e726dffc50cdee0c4.tar.gz Subconscious-old-7eb82d91aa34aba1a20bc47e726dffc50cdee0c4.zip |
Diffstat (limited to 'src/Tile.java')
-rw-r--r-- | src/Tile.java | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/Tile.java b/src/Tile.java deleted file mode 100644 index 8624f08..0000000 --- a/src/Tile.java +++ /dev/null @@ -1,22 +0,0 @@ -public class Tile { - - public int x; - public int y; - public int len; - public TileType tileType = TileType.GRASS; - public EntityType entityType = EntityType.NULL; - public boolean selected = false; - public boolean attack = false; - public int width; - - public Tile (int row, int col, int window, int width) { - this.width = width; - this.calc(row, col, window); - } - - public void calc (int row, int col, int window) { - this.len = (int) (window/(double)this.width); - this.x = col*len; - this.y = row*len; - } -} |