export class PositionedTile {
	constructor(x, y, id) {
		this.x = x;
		this.y = y;
		this.tileId = id;
	}
}

export class TileSelection {
	constructor(width, height, tiles) {
		this.width = width;
		this.height = height;
		this.tiles = tiles;
	}
}

export class PositionedTile {
	constructor(x, y, id) {
		this.x = x;
		this.y = y;
		this.tileId = id;
	}
}

export class TileSelection {
	constructor(width, height, tiles) {
		this.width = width;
		this.height = height;
		this.tiles = tiles;
	}

	getTile(x, y) {
		for (let tile of this.tiles) {
			if (tile.x == x && tile.y == y) {
				return tile;
			}
		}
	}
}

Add get tile function in tile selection
Add get tile function in tile selection
