Files
esengine/packages/physics-rapier2d/src/runtime/index.ts

18 lines
665 B
TypeScript
Raw Normal View History

/**
* Physics 2D Runtime Entry
* 2D
*
* WASM
* Contains WASM dependencies, for actual runtime environment
*/
// Re-export runtime module and plugin with WASM
export { PhysicsRuntimeModule, PhysicsPlugin, type PhysicsSystemContext } from '../PhysicsRuntimeModule';
// 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';