This commit is contained in:
yinsx
2026-01-05 10:14:33 +08:00
commit cf0b049abf
33 changed files with 3130 additions and 0 deletions

14
src/base/Monobehiver.ts Normal file
View File

@ -0,0 +1,14 @@
/**
* 组件基础类 - 提供生命周期方法
*/
export class Monobehiver<TMainApp = any> {
protected mainApp: TMainApp;
constructor(mainApp: TMainApp) {
this.mainApp = mainApp;
}
/** 醒来/初始化,子类可重写 */
// eslint-disable-next-line @typescript-eslint/no-empty-function
Awake(): void {}
}