boolean function ( ) { return door . isDoorClosed ( ) ; }
this method determine whether the door is closed . concode_field_sep Door door concode_elem_sep MainController mainCtrl concode_elem_sep StoreController storeCtrl concode_elem_sep MyMachinerySimulatorPanel ml concode_field_sep void setDoorState concode_elem_sep void storeCoin concode_elem_sep void update concode_elem_sep void closeDown concode_elem_sep void displayDoorState concode_elem_sep void displayMachineryPanel concode_elem_sep MainController getMainController concode_elem_sep void closeMachineryPanel concode_elem_sep void displayCoinStock concode_elem_sep void dispenseDrink concode_elem_sep void displayDrinkStock concode_elem_sep void initialize concode_elem_sep void giveChange