turn an array of resource-colors contains resource-id integers into an array list of actual color integers concode_field_sep int[] COLORFUL_COLORS concode_elem_sep int[] JOYFUL_COLORS concode_elem_sep int[] VORDIPLOM_COLORS concode_elem_sep int[] LIBERTY_COLORS concode_elem_sep int[] PASTEL_COLORS concode_field_sep int getHoloBlue
ArrayList < Integer > function ( Resources arg0 , int [ ] arg1 ) { ArrayList < Integer > loc0 = new ArrayList < Integer > ( ) ; for ( int loc1 : arg1 ) { loc0 . add ( arg0 . getColor ( loc1 ) ) ; } return loc0 ; }