public void addShape(Block b){
		Square[][] shape = b.getShape();
		Color c = shape[0][0].getColor();
		int x, y;
		for(int i=0;i<shape.length;i++){
			for(int j=0;j<shape[0].length;j++){
				if(shape[i][j].isReal()){
					x = shape[i][j].getX()/Square.SIZE;
					y = shape[i][j].getY()/Square.SIZE;
					if(y>=0 && y<THA.HEIGHT/Square.SIZE && x>=0 && x<THA.WIDTH/Square.SIZE){
						map[y][x].makeSolid(true);
						map[y][x].changeColor(c);
					}else if(y<THA.HEIGHT/Square.SIZE){
						lose = true;
					}
				}
			}
		}
	}