feat: IEnemyHandler 引入 IStateBase 成员

This commit is contained in:
AncTe committed 2026-05-12 17:26:57 +08:00
1 parent 0da19e1697
commit 43ad3fd83e
7 files changed
+232 -197

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
import { logger } from '@motajs/common';
import { SaveCompression } from '../common';
import { IEnemy, IEnemySaveState, IReadonlyEnemy, ISpecial } from './types';
import { SaveCompression } from '../common/types';
export class Enemy<TAttr> implements IEnemy<TAttr> {
/** 怪物身上的特殊属性列表 */
+1 -1
View File
@@ -1,5 +1,5 @@
import { isEqual } from 'lodash-es';
import { SaveCompression } from '../common/types';
import { SaveCompression } from '../common';
import { ISpecial, SpecialCreation } from './types';
// TODO: 颜色参数
+1 -1
View File
@@ -1,4 +1,4 @@
import { ISaveableContent } from '../common/types';
import { ISaveableContent } from '../common';
//#region 怪物基础