Added kidney_labe and Cyste_kid
This commit is contained in:
11
Cyst_Kid/js/screen-game-over.js
Normal file
11
Cyst_Kid/js/screen-game-over.js
Normal file
@@ -0,0 +1,11 @@
|
||||
// ========== GAME OVER SCREEN ==========
|
||||
// Extends Game.prototype — must be loaded after game.js
|
||||
|
||||
Object.assign(Game.prototype, {
|
||||
|
||||
_showGameOver(){
|
||||
document.getElementById('go-score-text').textContent='Punkte: '+this.sc;
|
||||
document.getElementById('game-over-screen').style.display='flex';
|
||||
}
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user