refactor: UI 挪到 src

This commit is contained in:
AncTe committed 2026-10-19 21:18:22 +08:00
1 parent 319d18d067
commit 8f32509199
35 files changed
+177 -370

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
import { FaceGroup } from '@user/data-common';
// 本文件是游戏的底层核心配置,如果不懂的话千万不要动
/** 数据端核心配置对象,不懂的话就不要动 */
export const CORE_URL = 'content/core.jsonc';
/** 勇士的默认朝向组,用于控制勇士的移动,不懂的话就不要动 */
export const HERO_FACE = FaceGroup.Dir8;
+1 -1
View File
@@ -1,5 +1,5 @@
import { CoreState, ICoreState, ICoreStateConfig } from '@user/data-state';
import { CORE_URL, HERO_FACE } from '../constant';
import { CORE_URL, HERO_FACE } from './constant';
import { ILoadTaskStarter } from '@motajs/loader';
import { MainDataPlugin } from './initialize';
import { dataPlugins } from './plugin';
+4
View File
@@ -0,0 +1,4 @@
export * from './constant';
export * from './entry';
export * from './initialize';
export * from './types';