ImportSongs: Add song genre

This commit is contained in:
LoveEevee
2019-01-05 10:44:28 +03:00
parent b91b3110d5
commit 8bc9aee594
13 changed files with 423 additions and 182 deletions

View File

@@ -2,6 +2,10 @@ class Titlescreen{
constructor(){
loader.changePage("titlescreen")
this.titleScreen = document.getElementById("title-screen")
var proceed = document.getElementById("tilte-proceed")
proceed.appendChild(document.createTextNode(strings.tilteProceed))
proceed.setAttribute("alt", strings.tilteProceed)
pageEvents.keyAdd(this, "all", "down", this.keyDown.bind(this))
pageEvents.add(this.titleScreen, ["mousedown", "touchstart"], this.onPressed.bind(this))
assets.sounds["title"].play()