public Tile getTileIntArray(int[] Layer, int x, int y) {
		if(x < 0 || y < 0 || x >= width || y >= height) return VoidTile;
		if(Layer[x + y * width] < TileIDS.size()) {
			return TileIDS.get(Layer[x + y * width]);
		} else {
			return EmptyTile;
		}
	}