|
|
@@ -40,6 +40,9 @@ export struct reagencyComp {
|
|
|
this.timeC = setInterval(() => {
|
|
|
let location = this.generateBubbleLocation()
|
|
|
this.getUIContext().animateTo({ duration: 300 }, () => {
|
|
|
+ if(this.bubbles.length == 10) {
|
|
|
+ this.deleteBubble(this.bubbles[0].id!, false)
|
|
|
+ }
|
|
|
this.bubbles.push(location)
|
|
|
})
|
|
|
}, this.bubbleConnect.bubbleFrequency * 1000)
|