@adatechnology/game-test-room 0.10.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -4,7 +4,8 @@ import { DestructibleSpec, Vec3, DestructionWorld, BlastOptions, DestructionOpti
4
4
  export { DestructionEvent, Vec3 } from '@adatechnology/game-destruction';
5
5
  import { SpecFromObjectOptions, DestructionRenderer, Quality } from '@adatechnology/game-destruction-three';
6
6
  import { Arsenal, WeaponState, WeaponDef } from '@adatechnology/game-weapons';
7
- import { FluidRenderer } from '@adatechnology/game-fluids-three';
7
+ import { VfxWorld } from '@adatechnology/game-vfx';
8
+ import { FilmBridge, FluidRenderer } from '@adatechnology/game-fluids-three';
8
9
  import { ContainerSpec, FluidWorld, LiquidDef, ItemUseDef, SurfaceSpec } from '@adatechnology/game-fluids';
9
10
  import { ModuleControl, ControlValue, ModuleLayer, DestructibleImpl, AnimationClipSpec, EnvironmentBus, TestableModule } from '@adatechnology/game-contracts';
10
11
  export { AnimationClipSpec, DestructibleImpl, ItemAnimationContract, ModuleScenario, TestableItem, TestableModule } from '@adatechnology/game-contracts';
@@ -272,6 +273,10 @@ interface TestRoom {
272
273
  resetAll(): void;
273
274
  readonly arsenal: Arsenal;
274
275
  readonly fluids: FluidWorld;
276
+ /** The running film of the liquids (blood, fuel, oil): `splat` throws drops into it (a wound), `setWeather` is the rain hook. */
277
+ readonly film: FilmBridge;
278
+ /** The room's one effects world (what `host.effects` draws into): the weather moves its wind. */
279
+ readonly vfx: VfxWorld;
275
280
  /** Equip a weapon or tool of the loadout (or any arsenal id). */
276
281
  setTool(weaponId: string): void;
277
282
  readonly tool: WeaponState;