家族模拟器首版:修仙/经营/战斗/外交/叙事全套系统 - Electron + React + TS + MetonaSqlark(aria+OPFS) - 水墨中国风 UI - 引擎种子随机、确定性可回放 - 19 项单元测试、端到端冒烟验证
8 lines
285 B
TypeScript
8 lines
285 B
TypeScript
import { World } from '../src/renderer/game/engine/world'
|
|
import { matchesCond } from '../src/renderer/game/engine/systems/events'
|
|
import { Cond } from '../src/renderer/game/data/events'
|
|
|
|
export function matchesCondPub(w: World, cond?: Cond): boolean {
|
|
return matchesCond(w, cond)
|
|
}
|