Fix drumroll, pressed keys, pause menu, hide cursor

This commit is contained in:
LoveEevee
2018-09-18 16:59:40 +03:00
parent 0a62088d62
commit 772dac579f
8 changed files with 118 additions and 82 deletions

View File

@@ -91,7 +91,9 @@ class Keyboard{
}else{
assets.sounds["note_" + sound].play()
}
this.keyTime[sound] = this.controller.getElapsedTime().ms
var ms = this.controller.getElapsedTime().ms
this.keyTime[keyCode] = ms
this.keyTime[sound] = ms
})
}
getKeys(){