2025-11-28 10:32:28 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* Physics 2D Runtime Entry
|
|
|
|
|
|
* 2D 物理运行时入口
|
|
|
|
|
|
*
|
|
|
|
|
|
* 包含 WASM 依赖,用于实际运行时环境
|
|
|
|
|
|
* Contains WASM dependencies, for actual runtime environment
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
2025-12-01 22:28:51 +08:00
|
|
|
|
// Re-export runtime module and plugin with WASM
|
|
|
|
|
|
export { PhysicsRuntimeModule, PhysicsPlugin, type PhysicsSystemContext } from '../PhysicsRuntimeModule';
|
2025-11-28 10:32:28 +08:00
|
|
|
|
|
|
|
|
|
|
// Re-export world and system (they have WASM type dependencies)
|
|
|
|
|
|
export { Physics2DWorld } from '../world/Physics2DWorld';
|
|
|
|
|
|
export type { Physics2DWorldState } from '../world/Physics2DWorld';
|
|
|
|
|
|
|
|
|
|
|
|
export { Physics2DSystem } from '../systems/Physics2DSystem';
|
|
|
|
|
|
export type { Physics2DSystemConfig } from '../systems/Physics2DSystem';
|