void updateScoreTextInGame() { if (score % 100 == 0) { newCanvas.showInGameMessage("WOW!", newCanvas.gameMessage); } newCanvas.currentScore.text = "Score: " + score++; }
void updateScoreTextInGame() { if (score % 100 == 0) { newCanvas.showInGameMessage("WOW!", newCanvas.gameMessage); } newCanvas.currentScore.text = "Score: " + score++; }