sets a bead on a peg . concode_field_sep String player1Name concode_elem_sep Image image concode_elem_sep String FILE_NAME_WHITE concode_elem_sep int NUM_ALPHA_OFFSET concode_elem_sep String FILE_NAME_BLACK concode_elem_sep boolean isDraw concode_elem_sep boolean isWin concode_elem_sep Image beadImageB concode_elem_sep String player2Name concode_elem_sep int NUM_COLS concode_elem_sep int x concode_elem_sep int width concode_elem_sep int y concode_elem_sep String FILE_NAME concode_elem_sep Peg[] position concode_elem_sep Image beadImageW concode_elem_sep int height concode_field_sep Image getBlackBeadImage concode_elem_sep Bead getBead concode_elem_sep void startBeadImageLoaderW concode_elem_sep String player1 concode_elem_sep String player2 concode_elem_sep void setBoardCoords concode_elem_sep void startImageLoader concode_elem_sep boolean draw concode_elem_sep void startBeadImageLoaderB concode_elem_sep Rectangle getBounds concode_elem_sep void loadImage concode_elem_sep void loadBeadImages concode_elem_sep int getX concode_elem_sep int getY concode_elem_sep Peg[] getPosition concode_elem_sep Image getWhiteBeadImage concode_elem_sep int mapPosToPeg concode_elem_sep Image getImage concode_elem_sep boolean win concode_elem_sep void setPlayerNames
boolean function ( int arg0 , char arg1 ) { arg0 = arg0 - 1 ; if ( position [ arg0 ] . beadAt ( 0 ) . colour ( ) == 'N' || position [ arg0 ] . beadAt ( 1 ) . colour ( ) == 'N' || position [ arg0 ] . beadAt ( 2 ) . colour ( ) == 'N' || position [ arg0 ] . beadAt ( 3 ) . colour ( ) == 'N' ) { position [ arg0 ] . setBead ( arg1 ) ; return true ; } else return false ; }