feat: Refactor human action handling to replace animatedTravel with worker actions and enhance animation management

This commit is contained in:
2025-07-03 14:23:57 +05:30
parent 98f4d48db2
commit eb5683eadc
11 changed files with 606 additions and 112 deletions

View File

@@ -39,7 +39,7 @@ export function useActionHandler() {
case 'store': case 'retrieve':
handleStorageAction(action as StorageAction, materialId as string);
break;
case 'animatedTravel':
case 'worker':
handleHumanAction(action as HumanAction, materialId as string);
break;
default: