refactor: move game map into world folder

This commit is contained in:
2026-04-28 09:47:09 +02:00
parent 8f40bb8133
commit e1d2bfdc75
7 changed files with 7 additions and 62 deletions
+3 -3
View File
@@ -32,11 +32,11 @@ src/
│ ├── scene/
│ │ ├── EditorMap.tsx
│ │ └── EditorScene.tsx
│ └── utils/
│ └── loadEditorScene.ts
├── types/
│ └── editor.ts
└── utils/
├── editor/
│ └── loadEditorScene.ts
└── loadMapSceneData.ts
```
@@ -58,7 +58,7 @@ src/
`src/utils/loadMapSceneData.ts` is shared by the game map and editor. It loads `/map.json` and resolves available `public/models/{name}/model.gltf` files.
`src/features/editor/utils/loadEditorScene.ts` contains editor-only upload handling for user-selected folders.
`src/utils/editor/loadEditorScene.ts` contains editor-only upload handling for user-selected folders.
## Data Format