marks tile at specified indeces . concode_field_sep GameState state concode_elem_sep Tile[][] tiles concode_elem_sep int mineCount concode_elem_sep int rowCount concode_elem_sep int columnCount concode_field_sep Tile getTile concode_elem_sep void fillWithClues concode_elem_sep int countAdjacentMines concode_elem_sep int getRowCount concode_elem_sep boolean checkInRange concode_elem_sep int getColumnCount concode_elem_sep int getMineCount concode_elem_sep int getTilesWithState concode_elem_sep void openTile concode_elem_sep boolean isSolved concode_elem_sep int getRemainingMineCount concode_elem_sep GameState getGameState concode_elem_sep void openAdjacentTiles concode_elem_sep void generate
void function ( int arg0 , int arg1 ) { if ( checkInRange ( arg0 , arg1 ) ) { Tile loc0 = tiles [ arg0 ] [ arg1 ] ; if ( loc0 . getState ( ) == State . CLOSED ) { getTile ( arg0 , arg1 ) . setState ( State . MARKED ) ; } else if ( loc0 . getState ( ) == State . MARKED ) { getTile ( arg0 , arg1 ) . setState ( State . CLOSED ) ; } } }