- x0 + p0.j * tileWidth - 2 + (tileWidth / 2),
- y0 + p0.i * tileHeight - 2 + (tileHeight / 2),
- x0 + p1.j * tileWidth - 2 + (tileWidth / 2),
- y0 + p1.i * tileHeight - 2 + (tileHeight / 2), paint);
+ x0 + p0.j * tileset.tileWidth - 2 + (tileset.tileWidth / 2),
+ y0 + p0.i * tileset.tileHeight - 2 + (tileset.tileHeight / 2),
+ x0 + p1.j * tileset.tileWidth - 2 + (tileset.tileWidth / 2),
+ y0 + p1.i * tileset.tileHeight - 2 + (tileset.tileHeight / 2), paint);