feat: 获取天气功能 & 优化类型

This commit is contained in:
AncTe committed 2024-11-12 15:58:56 +08:00
1 parent 760ddd6b03
commit e7b4d4cd74
4 files changed
+28 -10

No files matched your search

+9
View File
@@ -37,6 +37,15 @@ export abstract class BarrageBoss {
this.ticker.add(this.tick);
}
/**
* 结束这个弹幕战
*/
end() {
if (this.ticker.funcs.has(this.tick)) {
this.ticker.remove(this.tick);
}
}
/**
* 摧毁传入的弹幕
*/