Added song select music, more keys

This commit is contained in:
LoveEevee
2018-09-27 00:12:50 +03:00
parent f72c09f4a6
commit b053dffec1
5 changed files with 48 additions and 19 deletions

View File

@@ -351,8 +351,12 @@ class Game{
}
}
getAccurateTime(){
var currentDate = new Date()
return currentDate.getTime() - this.startDate.getTime() - this.elapsedTimeSincePause
if(this.isPaused()){
return this.getElapsedTime().ms
}else{
var currentDate = new Date()
return currentDate.getTime() - this.startDate.getTime() - this.elapsedTimeSincePause
}
}
getCircles(){
return this.songData.circles