auto-git:

[change] src/app/App.tsx
 [change] tests/domain/runtime-interaction-system.test.ts
 [change] tests/unit/first-person-navigation-controller.test.ts
 [change] tests/unit/pause-navigation-controller.test.ts
 [change] tests/unit/third-person-navigation-controller.test.ts
This commit is contained in:
2026-04-22 17:15:28 +02:00
parent 19697be828
commit a72b321027
5 changed files with 7 additions and 1 deletions

View File

@@ -356,7 +356,6 @@ import {
type PlayerStartSystemAction,
type PlayerStartMovementTemplate,
type PlayerStartNavigationMode,
type CameraRigEntity,
type EntityInstance,
type EntityKind
} from "../entities/entity-instances";

View File

@@ -77,6 +77,7 @@ function createRuntimeSceneFixture(): RuntimeSceneDefinition {
playerStarts: [],
sceneEntries: [],
npcs: [],
cameraRigs: [],
soundEmitters: [
{
entityId: "entity-sound-lobby",

View File

@@ -104,6 +104,8 @@ function createRuntimeControllerContext(
) => ({
...desiredCameraPosition
}),
isCameraDrivenExternally: () => false,
getCameraYawRadians: () => 0,
isInputSuspended: () => false,
setRuntimeMessage: vi.fn(),
setPlayerControllerTelemetry: vi.fn()

View File

@@ -71,6 +71,8 @@ function createSuspendedContext(navigationMode: "firstPerson" | "thirdPerson") {
_pivot: Vec3,
desiredCameraPosition: Vec3
) => ({ ...desiredCameraPosition }),
isCameraDrivenExternally: () => false,
getCameraYawRadians: () => 0,
isInputSuspended: () => true,
setRuntimeMessage: vi.fn(),
setPlayerControllerTelemetry: vi.fn()

View File

@@ -101,6 +101,8 @@ function createRuntimeControllerContext(
) => ({
...desiredCameraPosition
}),
isCameraDrivenExternally: () => false,
getCameraYawRadians: () => 0,
isInputSuspended: () => false,
setRuntimeMessage: vi.fn(),
setPlayerControllerTelemetry: vi.fn()