Board.cpp
bool Board::is_block_falling(){
	for(int x = 0; x < cols; x++){
		for(int y = 0; y < rows; y++){
			if (board[x][y].moving){
				return true;
			}
		}
	}
	return false;
}
/**
    Method to check if there is any block in movement (Used only for validations)

	@param void
	@return bool
*/
Method to check if there is any block in movement (Used only for validations)
@param void
@return bool
Method to check if there is any block in movement ( Used only for validations ) @param void @return bool
bool Board::is_block_falling(){
	for(int x = 0; x < cols; x++){
		for(int y = 0; y < rows; y++){
			if (board[x][y].moving){
				return true;
			}
		}
	}
	return false;
}
bool Board :: is_block_falling ( ) { for ( int x = 0 ; x < cols ; x ++ ) { for ( int y = 0 ; y < rows ; y ++ ) { if ( board [ x ] [ y ] . moving ) { return true ; } } } return false ; }
Method to check if there is any block in movement (Used only for validations)
@param void
@return bool
Method to check if there is any block in movement ( Used only for validations ) @param void @return bool