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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user