public Tile getTileLayerCollision(Layer layer, int x, int y) {
		if(x < 0 || y < 0 || x >= width || y >= height) return VoidTile;
		if (CollTileIDS.get(layer.tiles[x + y * width]) != null) {
			return CollTileIDS.get(layer.tiles[x + y * width]);
		} else {
			return EmptyTile;
		}
	}