Initial work on menus

This commit is contained in:
2026-09-10 23:26:17 +02:00
parent 71820a25dd
commit 3dbda96d31
22 changed files with 1093 additions and 44 deletions
+2 -2
View File
@@ -73,8 +73,8 @@ impl AssetCollection for FighterManifestAssets {
}
}
#[derive(Resource)]
pub struct FighterManifestRegistry(HashMap<FighterId, Handle<FighterManifest>>);
#[derive(Resource, Deref)]
pub struct FighterManifestRegistry(pub HashMap<FighterId, Handle<FighterManifest>>);
impl FighterManifestRegistry {
pub fn get(&self, fighter: FighterId) -> Option<&Handle<FighterManifest>> {