boolean hasClickedOnce ( int click ) { if ( click < clicks . length && clicks [ click ] && ! clicked [ click ] ) { clicked [ click ] = true ; return true ; } return false ; }
Check if click is clicked once .