refactor: only using width

This commit is contained in:
cha0s 2019-03-25 20:49:57 -05:00
parent 1fff0cdb16
commit d02b5ccced

View File

@ -60,8 +60,7 @@ class TilesBase {
}
tileAt(x, y) {
const [width, height] = this.size;
return this.data[y * width + x];
return this.data[y * this.width + x];
}
toJSON() {