mirror of
https://github.com/motajs/template.git
synced 2026-09-24 18:50:24 +08:00
chore: 清空类型错误
This commit is contained in:
parent
87dea63399
commit
a027b04d14
@ -10,6 +10,7 @@
|
||||
"@motajs/legacy-ui": "workspace:*",
|
||||
"@motajs/types": "workspace:*",
|
||||
"@motajs/system": "workspace:*",
|
||||
"@user/data-common": "workspace:*",
|
||||
"@user/data-base": "workspace:*",
|
||||
"@user/data-state": "workspace:*"
|
||||
}
|
||||
|
||||
@ -2,11 +2,14 @@ import {
|
||||
degradeFace,
|
||||
FaceDirection,
|
||||
getFaceMovement,
|
||||
// @ts-expect-error 需要重构
|
||||
HeroAnimateDirection,
|
||||
// @ts-expect-error 需要重构
|
||||
IHeroMoveController,
|
||||
// @ts-expect-error 需要重构
|
||||
IHeroMoveControllerHooks,
|
||||
nextFaceDirection
|
||||
} from '@user/data-base';
|
||||
} from '@user/data-common';
|
||||
import { IMapLayer } from '@user/data-base';
|
||||
import { IMapRenderer, IMapRendererTicker, IMovingBlock } from '../types';
|
||||
import { isNil } from 'lodash-es';
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
// @ts-expect-error 需要重构
|
||||
import { IHeroMoveController } from '@user/data-base';
|
||||
import { IMapLayer } from '@user/data-base';
|
||||
import {
|
||||
|
||||
@ -1,9 +1,11 @@
|
||||
import { ITexture, Font } from '@motajs/render';
|
||||
import {
|
||||
FaceDirection,
|
||||
// @ts-expect-error 需要重构
|
||||
HeroAnimateDirection,
|
||||
// @ts-expect-error 需要重构
|
||||
IHeroMoveController
|
||||
} from '@user/data-base';
|
||||
} from '@user/data-common';
|
||||
import { IMapLayer } from '@user/data-base';
|
||||
|
||||
import { IMapRenderResult } from '../types';
|
||||
|
||||
@ -96,7 +96,7 @@ const MainScene = defineComponent(() => {
|
||||
//#region 状态更新
|
||||
const updateStatus = () => {
|
||||
if (!core.status || !core.status.hero || !core.status.floorId) return;
|
||||
const flags = client.data.flags;
|
||||
const flags = client.flags;
|
||||
hideStatus.value = flags.getFieldValueDefaults('hideStatusBar', false);
|
||||
|
||||
const hero = core.status.hero;
|
||||
@ -243,6 +243,7 @@ const MainScene = defineComponent(() => {
|
||||
>
|
||||
<map-render
|
||||
renderer={mainMapRenderer}
|
||||
// @ts-expect-error 需要重构
|
||||
layerState={state.maps}
|
||||
extension={mainMapExtension}
|
||||
loc={[0, 0, MAP_WIDTH, MAP_HEIGHT]}
|
||||
|
||||
@ -7,6 +7,7 @@ import {
|
||||
import { defineComponent } from 'vue';
|
||||
import { waitbox, ListPage, TextContent } from '../components';
|
||||
import { DefaultProps } from '@motajs/render-vue';
|
||||
// @ts-expect-error 需要重构
|
||||
import { ItemState } from '@user/data-state';
|
||||
|
||||
// 未完工
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
export * from './enemy';
|
||||
export * from './event';
|
||||
export * from './hero';
|
||||
export * from './legacy';
|
||||
export * from './replay';
|
||||
|
||||
export * from './core';
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
export function create() {}
|
||||
|
||||
export * from './hero';
|
||||
export * from './interface';
|
||||
export * from './item';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user