Refactor simulation action handlers: consolidate action handling, enhance spawn logic, and improve type definitions for actions.

This commit is contained in:
2025-05-05 11:24:00 +05:30
parent 8fd0d0121e
commit 8ba2bae810
12 changed files with 366 additions and 251 deletions

View File

@@ -28,6 +28,4 @@ export default async function setCameraView({
controls?.setLookAt(...newPosition.toArray(), newPosition.x, 0, newPosition.z, true);
}
// Optionally you can log
console.log(`Camera view updated by ${username ?? 'unknown user'}`);
}