![]() The Pause Button stops the current downflow of blocks and also maintain if their is any shield time or magnet timer left.The block gets down using the "movedown" method in playgame class, which is implemented using animation timer so the blocks move down whenever its handle method is called. There are 3 buttons pause, mainmenu and restart, whose setOnAction method are implemented for the specified purposes. The Label of playerscore gets increased if the snake collides with the coin ("collidewithspecialcoin" method). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |