mirror of
https://github.com/motajs/template.git
synced 2026-11-08 11:14:30 +08:00
refactor: 将 Layer 0 单独放到一个包
This commit is contained in:
1 parent
bf781c5ee8
commit
8f4c4b7df2
48 files changed
+159
-97
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import { logger } from '@motajs/common';
|
||||
import { SaveCompression } from '../common';
|
||||
import { SaveCompression } from '@user/data-common';
|
||||
import { IEnemy, IEnemySaveState, IReadonlyEnemy, ISpecial } from './types';
|
||||
|
||||
export class Enemy<TAttr> implements IEnemy<TAttr> {
|
||||
|
||||
@@ -10,7 +10,7 @@ import {
|
||||
SpecialCreation,
|
||||
IEnemySaveState
|
||||
} from './types';
|
||||
import { SaveCompression } from '../common';
|
||||
import { SaveCompression } from '@user/data-common';
|
||||
|
||||
export class EnemyManager<TAttr> implements IEnemyManager<TAttr> {
|
||||
/** 特殊属性注册表,code -> 创建函数 */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { isEqual } from 'lodash-es';
|
||||
import { SaveCompression } from '../common';
|
||||
import { SaveCompression } from '@user/data-common';
|
||||
import { ISpecial, SpecialCreation } from './types';
|
||||
|
||||
// TODO: 颜色参数
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ISaveableContent } from '../common';
|
||||
import { ISaveableContent } from '@user/data-common';
|
||||
|
||||
//#region 怪物基础
|
||||
|
||||
|
||||
Reference in new issue
Block a user