question: called when an interface is opened . concode_field_sep int currentInterface concode_elem_sep int enterAmountSlot concode_elem_sep int enterAmountInterfaceId concode_elem_sep int enterAmountId concode_elem_sep List<ContainerListener> containerListeners concode_elem_sep Player player concode_field_sep boolean isInterfaceOpen concode_elem_sep boolean isEnterAmountInterfaceOpen concode_elem_sep void interfaceClosed concode_elem_sep int getCurrentInterface concode_elem_sep void openEnterAmountInterface concode_elem_sep void addListener
target: void function ( int arg0 ) { if ( currentInterface != - 1 ) { interfaceClosed ( ) ; } currentInterface = arg0 ; }