Board.cpp
void Board::update_board(){
	for(int x = 0; x < cols; x++){
		for(int y=rows - 1; y >= 0; y--){
			if (board[x][y].free){
				continue;
			}
			board[x][y].falling = true;
		}
	}
}
/**
    Update board setting pieces as falling (See @deprecated)
	
	@deprecated This method is not used anymore, I keep it until I make a review in the code if is needed or not
	@param void
	@return void
*/
Update board setting pieces as falling (See @deprecated)
@deprecated This method is not used anymore, I keep it until I make a review in the code if is needed or not
@param void
@return void
Update board setting pieces as falling ( See @deprecated ) @deprecated This method is not used anymore I keep it until I make a review in the code if is needed or not @param void @return void
void Board::update_board(){
	for(int x = 0; x < cols; x++){
		for(int y=rows - 1; y >= 0; y--){
			if (board[x][y].free){
				continue;
			}
			board[x][y].falling = true;
		}
	}
}
void Board :: update_board ( ) { for ( int x = 0 ; x < cols ; x ++ ) { for ( int y = rows - 1 ; y >= 0 ; y -- ) { if ( board [ x ] [ y ] . free ) { continue ; } board [ x ] [ y ] . falling = true ; } } }
Update board setting pieces as falling (See @deprecated)
@deprecated This method is not used anymore, I keep it until I make a review in the code if is needed or not
@param void
@return void
Update board setting pieces as falling ( See @deprecated ) @deprecated This method is not used anymore I keep it until I make a review in the code if is needed or not @param void @return void