Added kidney_labe and Cyste_kid
This commit is contained in:
15
Cyst_Kid/js/screen-start.js
Normal file
15
Cyst_Kid/js/screen-start.js
Normal file
@@ -0,0 +1,15 @@
|
||||
// ========== START SCREEN ==========
|
||||
// Extends Game.prototype — must be loaded after game.js
|
||||
|
||||
Object.assign(Game.prototype, {
|
||||
|
||||
_start(){
|
||||
this.lv=1;this.lives=3;this.sc=0;this.tt=0;this.td=0;
|
||||
this.state='playing';this._ov(null);this._init();
|
||||
},
|
||||
|
||||
_showStart(){
|
||||
document.getElementById('start-screen').style.display='flex';
|
||||
}
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user