Created
September 6, 2020 07:11
-
-
Save flushpot1125/160dfa2139f904485aefd59b47cbc436 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function addScore(): void{ | |
colliedcnt++; | |
blockCountMessages.text="blocks"+ colliedcnt+"/8"; | |
if(colliedcnt == 8){ | |
StateChange(State.GAMECLEAR); | |
showMessages("Congratulations!! CLEAR!!Reload to play again"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment