Add startDialogue method to runtime interaction system tests

This commit is contained in:
2026-04-14 20:00:51 +02:00
parent 88eaae6a7d
commit 4116553fc8

View File

@@ -224,7 +224,8 @@ describe("RuntimeInteractionSystem", () => {
playAnimation: () => {}, playAnimation: () => {},
stopAnimation: () => {}, stopAnimation: () => {},
playSound: () => {}, playSound: () => {},
stopSound: () => {} stopSound: () => {},
startDialogue: () => {}
} }
); );
interactionSystem.updatePlayerPosition( interactionSystem.updatePlayerPosition(
@@ -245,7 +246,8 @@ describe("RuntimeInteractionSystem", () => {
playAnimation: () => {}, playAnimation: () => {},
stopAnimation: () => {}, stopAnimation: () => {},
playSound: () => {}, playSound: () => {},
stopSound: () => {} stopSound: () => {},
startDialogue: () => {}
} }
); );
@@ -296,7 +298,8 @@ describe("RuntimeInteractionSystem", () => {
dispatches.push(`${link.id}:${instanceId}`); dispatches.push(`${link.id}:${instanceId}`);
}, },
playSound: () => {}, playSound: () => {},
stopSound: () => {} stopSound: () => {},
startDialogue: () => {}
} }
); );
@@ -345,7 +348,8 @@ describe("RuntimeInteractionSystem", () => {
playAnimation: () => {}, playAnimation: () => {},
stopAnimation: () => {}, stopAnimation: () => {},
playSound: () => {}, playSound: () => {},
stopSound: () => {} stopSound: () => {},
startDialogue: () => {}
} }
); );
interactionSystem.updatePlayerPosition( interactionSystem.updatePlayerPosition(
@@ -371,7 +375,8 @@ describe("RuntimeInteractionSystem", () => {
playAnimation: () => {}, playAnimation: () => {},
stopAnimation: () => {}, stopAnimation: () => {},
playSound: () => {}, playSound: () => {},
stopSound: () => {} stopSound: () => {},
startDialogue: () => {}
} }
); );
@@ -518,7 +523,8 @@ describe("RuntimeInteractionSystem", () => {
playAnimation: () => {}, playAnimation: () => {},
stopAnimation: () => {}, stopAnimation: () => {},
playSound: () => {}, playSound: () => {},
stopSound: () => {} stopSound: () => {},
startDialogue: () => {}
} }
); );
@@ -569,7 +575,8 @@ describe("RuntimeInteractionSystem", () => {
}, },
stopSound: (soundEmitterId, link) => { stopSound: (soundEmitterId, link) => {
dispatches.push(`${link.id}:${soundEmitterId}`); dispatches.push(`${link.id}:${soundEmitterId}`);
} },
startDialogue: () => {}
} }
); );
@@ -661,7 +668,8 @@ describe("RuntimeInteractionSystem", () => {
playAnimation: () => {}, playAnimation: () => {},
stopAnimation: () => {}, stopAnimation: () => {},
playSound: () => {}, playSound: () => {},
stopSound: () => {} stopSound: () => {},
startDialogue: () => {}
} }
); );