mirror of
https://github.com/motajs/template.git
synced 2026-11-22 04:54:30 +08:00
refactor: UI 挪到 src
This commit is contained in:
1 parent
319d18d067
commit
8f32509199
35 files changed
+177
-370
No files matched your search
@@ -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
@@ -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';
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
export * from './constant';
|
||||
export * from './entry';
|
||||
export * from './initialize';
|
||||
export * from './types';
|
||||
Reference in new issue
Block a user