public void setTile(int x, int y, int id) {
		if(x >= width || x < 0 || y >= height || y < 0) return;
		
		int oldID = this.map[x][y];
		this.map[x][y] = id;	
		
		if(oldID != id)
			updateNeighbours(x, y, TileUpdateType.tileChange);
	}