boardgame-phaser/packages/framework/src/index.ts

16 lines
556 B
TypeScript
Raw Normal View History

2026-04-04 13:08:28 +08:00
// Resource management
export { DisposableBag } from './utils';
export type { IDisposable, DisposableItem } from './utils';
2026-04-03 15:18:47 +08:00
2026-04-04 13:08:28 +08:00
// Data-driven object spawning
export { spawnEffect } from './spawner';
export type { Spawner } from './spawner';
2026-04-03 15:18:47 +08:00
2026-04-04 13:08:28 +08:00
// Scene base classes
export { GameHostScene } from './scenes';
export type { GameHostSceneOptions } from './scenes';
2026-04-03 15:18:47 +08:00
2026-04-04 13:08:28 +08:00
// React ↔ Phaser bridge
export { PhaserGame, PhaserScene, phaserContext, defaultPhaserConfig, GameUI } from './ui';
export type { PhaserGameProps, PhaserSceneProps, GameUIOptions } from './ui';