feat(item): add item manager with JSON asset loading

Implement ItemManager to load and query item definitions from assets/item JSON files. Add ItemData struct, item asset metadata, CMake source registration, and initialize the manager during app startup. Also add AGENTS.md repository guidelines.
This commit is contained in:
2026-08-04 14:24:10 +08:00
parent 5e7c6ec891
commit 2358cfd9a4
16 changed files with 469 additions and 1 deletions

6
assets/item/stone.json Normal file
View File

@@ -0,0 +1,6 @@
{
"id": 3,
"name": "stone",
"description": "",
"texture": "texture/item/block/stone.png"
}