boolean function ( int arg0 , int arg1 ) { GridElement loc0 = grid [ arg0 ] [ arg1 ] ; if ( loc0 . isVisited ( ) == false ) { if ( loc0 . gridtype == GridType . EMPTY ) { return true ; } else return false ; } else return false ; }
this function checks if that particular tile is empty . concode_field_sep int gridHeight concode_elem_sep GridElement grid[][] concode_elem_sep int gridWidth concode_field_sep int getGridWidth concode_elem_sep GridElement[][] getGrid concode_elem_sep int randomValue concode_elem_sep void GenerateGrid concode_elem_sep ArrayList<String> update concode_elem_sep boolean IsBomb concode_elem_sep void showGrid concode_elem_sep int getGridHeight concode_elem_sep boolean IsGridSolved concode_elem_sep boolean checkForPowerUp concode_elem_sep int BombsInNeighborhood concode_elem_sep boolean IsPowerUp concode_elem_sep ArrayList<String> ExploreGrid concode_elem_sep int noOfBombsInGrid concode_elem_sep boolean IsNonEmpty concode_elem_sep int getNonEmptyValue