int function ( int arg0 , int arg1 ) { int loc0 = arg0 / TILE_SIZE ; int loc1 = arg1 / TILE_SIZE ; int loc2 = 0 ; if ( loc1 > 0 ) loc2 = loc1 * MAZE_COLS ; loc2 += loc0 ; return mMazeData [ loc2 ] ; }
determine which cell the marble currently occupies . concode_field_sep int mCol concode_elem_sep int MAX_LEVELS concode_elem_sep Bitmap mImgPath concode_elem_sep Bitmap mImgExit concode_elem_sep int TILE_SIZE concode_elem_sep int VOID_COLOR concode_elem_sep Rect mRect concode_elem_sep int mX concode_elem_sep int mY concode_elem_sep int VOID_TILE concode_elem_sep int PATH_TILE concode_elem_sep int[] mMazeData concode_elem_sep int MAZE_COLS concode_elem_sep int MAZE_ROWS concode_elem_sep int EXIT_TILE concode_elem_sep int mRow concode_field_sep void load concode_elem_sep void closeStream concode_elem_sep void draw