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