mirror of
https://github.com/motajs/template.git
synced 2026-11-16 17:04:31 +08:00
feat: IEnemyHandler 引入 IStateBase 成员
This commit is contained in:
1 parent
0da19e1697
commit
43ad3fd83e
7 files changed
+232
-197
No files matched your search
@@ -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,5 +1,5 @@
|
||||
import { isEqual } from 'lodash-es';
|
||||
import { SaveCompression } from '../common/types';
|
||||
import { SaveCompression } from '../common';
|
||||
import { ISpecial, SpecialCreation } from './types';
|
||||
|
||||
// TODO: 颜色参数
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ISaveableContent } from '../common/types';
|
||||
import { ISaveableContent } from '../common';
|
||||
|
||||
//#region 怪物基础
|
||||
|
||||
|
||||
Reference in new issue
Block a user