Fallback to wav if ogg is not supported, fix circles animation
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user