diff options
author | mafaldo <mafaldo@heavyhammer.home> | 2018-02-10 15:12:05 +0100 |
---|---|---|
committer | mafaldo <mafaldo@heavyhammer.home> | 2018-02-10 15:12:05 +0100 |
commit | 0e8ebd8803718b37e9141649c6d8eb7036ec85ed (patch) | |
tree | 5b952c80b9d0616cf0bc7ba4243561352482e957 /src/main/java/Map.java | |
parent | Switch to gradle, update gitignore (diff) | |
download | Subconscious-old-0e8ebd8803718b37e9141649c6d8eb7036ec85ed.tar.gz Subconscious-old-0e8ebd8803718b37e9141649c6d8eb7036ec85ed.zip |
Implement actor, create player
Diffstat (limited to 'src/main/java/Map.java')
-rw-r--r-- | src/main/java/Map.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/Map.java b/src/main/java/Map.java index 031e922..db686f6 100644 --- a/src/main/java/Map.java +++ b/src/main/java/Map.java @@ -23,6 +23,6 @@ public class Map { /* accessors */ public Tile getTile(int x, int y) { - return this.grid[y * this.size.width + y]; + return this.grid[y * this.size.width + x]; } } |