Tile [][] mirror = new Tile[heightInTiles][widthInTiles];
Tile [][] mirror = new Tile[heightInTiles+1][widthInTiles+1];
	public void mirror(int dir) {		Tile [][] mirror = new Tile[heightInTiles][widthInTiles];		for(int y=0;y<heightInTiles;y++){					for(int x=0;x<widthInTiles;x++) {				if(dir == MIRROR_VERTICAL) {					mirror[y][x] = map[(heightInTiles-1)-y][x];				} else {					mirror[y][x] = map[y][(widthInTiles-1)-x];				}			}		}		map=mirror;	}