Regions function ( int arg0 , int arg1 ) { RegionCoordinates loc0 = new RegionCoordinates ( arg0 , arg1 ) ; if ( activeRegions . containsKey ( loc0 ) ) { return activeRegions . get ( loc0 ) ; } else { Regions loc1 = new Regions ( loc0 ) ; activeRegions . put ( loc0 , loc1 ) ; return loc1 ; } }
gets a region by its x and y coordinates . concode_field_sep int REGION_SIZE concode_elem_sep Map<RegionCoordinates,Regions> activeRegions concode_field_sep Regions getRegionByLocation