Fallback to wav if ogg is not supported, fix circles animation

This commit is contained in:
LoveEevee
2018-10-07 21:58:42 +03:00
parent b454059c07
commit 869857d33c
5 changed files with 86 additions and 77 deletions

View File

@@ -31,11 +31,9 @@ class Circle{
getLastFrame(){
return this.lastFrame
}
incFrame(){
this.lastFrame += 20
}
animate(){
animate(ms){
this.animating = true
this.animT = ms
}
isAnimated(){
return this.animating
@@ -43,9 +41,6 @@ class Circle{
getAnimT(){
return this.animT
}
incAnimT(){
this.animT += 0.05
}
getPlayed(){
return this.isPlayed
}