setTile(tilesets) {
		// get the corresponding tileset
		const tileset = tilesets.getTilesetByGid(this.gid);

		if (tileset.isCollection === false) {
			// set width and height equal to tile size
			this.width = this.framewidth = tileset.tilewidth;
			this.height = this.frameheight = tileset.tileheight;
		}

		// the object corresponding tile object
		this.tile = new Tile(this.x, this.y, this.gid, tileset);
	}
set the object image (for Tiled Object)
@ignore