public Tile getTile(int x, int y) {
		if (x < 0 || y < 0 || x >= width || y >= height) return Tile.voidTile;
		if (tiles[x+y*width] == Tile.col_spawn_floor) return Tile.spawn_floor;
		if (tiles[x+y*width] == Tile.col_spawn_grass) return Tile.spawn_grass;
		if (tiles[x+y*width] == Tile.col_spawn_wall1) return Tile.spawn_wall1;
		if (tiles[x+y*width] == Tile.col_spawn_wall2) return Tile.spawn_wall2;
		if (tiles[x+y*width] == Tile.col_spawn_hedge) return Tile.spawn_hedge;
		return Tile.voidTile;
	}