used for getting the inverse of direction dir : example : the inverse of mazegrid.dir _ left is mazegrid.dir _ right and vice versa concode_field_sep short DIR_LEFT concode_elem_sep ArrayList<Cell> revealedCoordinates concode_elem_sep short MARKER2 concode_elem_sep MazeGameSave gameSave concode_elem_sep Cell start concode_elem_sep short DIR_DOWN concode_elem_sep int rows concode_elem_sep int progRevealRadius concode_elem_sep boolean progReveal concode_elem_sep short MARKER3 concode_elem_sep short[][] grid concode_elem_sep short MARKER4 concode_elem_sep Cell finish concode_elem_sep byte DIR_RIGHT concode_elem_sep int cols concode_elem_sep short MARKER1 concode_elem_sep short MARKER5 concode_elem_sep short DIR_UP concode_elem_sep MazePlayer player concode_field_sep boolean canMove concode_elem_sep MazePlayer getPlayer concode_elem_sep ArrayList<Cell> getRevealedCoordinates concode_elem_sep void unmarkCell concode_elem_sep boolean hasMarker concode_elem_sep int getRows concode_elem_sep int getProgRevealRadius concode_elem_sep void unmarkFinish concode_elem_sep void unmarkVisitedCoordinates concode_elem_sep void markCellsInRadius concode_elem_sep int getCols concode_elem_sep void revealedCells concode_elem_sep ArrayList<Cell> getAdjacentUnvisitedCells concode_elem_sep short direction concode_elem_sep short getCellDirections concode_elem_sep boolean isVisited concode_elem_sep Cell getCell concode_elem_sep void markCell concode_elem_sep void carvePath concode_elem_sep void setPlayer concode_elem_sep short getCellShort concode_elem_sep void setProgReveal concode_elem_sep void updatePlayerPosition concode_elem_sep boolean contains concode_elem_sep void markStartFinish concode_elem_sep void unmarkCellsInRadius concode_elem_sep boolean isAtFinish
short function ( short arg0 ) { if ( arg0 == MazeGrid . DIR_LEFT ) return MazeGrid . DIR_RIGHT ; if ( arg0 == MazeGrid . DIR_RIGHT ) return MazeGrid . DIR_LEFT ; if ( arg0 == MazeGrid . DIR_UP ) return MazeGrid . DIR_DOWN ; if ( arg0 == MazeGrid . DIR_DOWN ) return MazeGrid . DIR_UP ; return 0x0 ; }