void function ( ) { if ( ! snake . isAlive ) this . gui . setTitle ( "srini_string" ) ; if ( ! border . isAlive ) this . gui . setTitle ( "srini_string" ) ; if ( gameElements . size ( ) == 2 ) { snake . isAlive = false ; gui . setTitle ( "srini_string" ) ; } }
checkgameover prueft ob die bedingung erfuellt wurde die fuer ein game over erforderlich sind . concode_field_sep Border border concode_elem_sep Snake snake concode_elem_sep Vector<GameElement> gameElements concode_elem_sep GUI gui concode_elem_sep int STEP concode_field_sep void setDiamonds concode_elem_sep void checkState concode_elem_sep void main concode_elem_sep void draw concode_elem_sep void checkGameElement