Add: GameOverText

This commit is contained in:
2018-05-15 16:30:53 +09:00
parent 3aa2b43b54
commit 375e7b057a
3 changed files with 49 additions and 1 deletions
+2 -1
View File
@@ -101,11 +101,12 @@ class Game {
startGame() {
// activate first alien
this.alienTimer.start();
// this.activateNextAlien();
}
gameOver() {
this.alienTimer.stop();
let gameOverText = new GameOverText();
}
activateNextAlien() {