feat(thought): integrate ThoughtSystem into game loop and socket broadcast

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
root
2026-03-08 21:10:00 +00:00
parent fb19f6cf8d
commit b515f7195f
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -41,6 +41,10 @@ export class SocketServer {
narrationService.onEventUpdated = (event) => {
this.io.emit('narration-update', { id: event.id, narration: event.narration });
};
this.gameLoop.thoughtSystem.onThought = (data) => {
this.io.emit('npc-thought', data);
};
}
private setupConnections(): void {