mirror of
https://github.com/motajs/template.git
synced 2026-11-11 05:24:30 +08:00
refactor: align state system replay and path contracts
This commit is contained in:
1 parent
81c3653b90
commit
febdcdc967
2 files changed
+7
-3
No files matched your search
@@ -1,13 +1,18 @@
|
||||
import { IStateBase } from '@user/data-base';
|
||||
import { IEnemyContext } from './combat';
|
||||
import { IEnemyAttr, IHeroAttr } from '@user/data-common';
|
||||
import { IEnemyAttr, IHeroAttr, IReplaySystem } from '@user/data-common';
|
||||
import { IGameEventSystem } from './event';
|
||||
import { IPathfindingSystem } from './path';
|
||||
|
||||
export interface IStateSystem extends IStateBase {
|
||||
/** 怪物上下文 */
|
||||
readonly enemyContext: IEnemyContext<IEnemyAttr, IHeroAttr>;
|
||||
/** 游戏事件系统 */
|
||||
readonly eventSystem: IGameEventSystem;
|
||||
/** 已绑定勇士移动器的寻路系统 */
|
||||
readonly pathfinding: IPathfindingSystem;
|
||||
/** 当前 CoreState 独立拥有的录像系统 */
|
||||
readonly replaySystem: IReplaySystem;
|
||||
}
|
||||
|
||||
export interface IStateSystemExtended {
|
||||
|
||||
Reference in new issue
Block a user