Parse fighter animation manifest keys

This commit is contained in:
2026-09-21 17:35:57 +02:00
parent 4a15b089ac
commit d4bb3e2620
+3 -1
View File
@@ -24,6 +24,8 @@ use std::{
time::{SystemTime, UNIX_EPOCH}, time::{SystemTime, UNIX_EPOCH},
}; };
use crate::fighter::animation::AnimKind;
const EXPORT_SCRIPT: &str = include_str!("blend_asset/export.py"); const EXPORT_SCRIPT: &str = include_str!("blend_asset/export.py");
#[derive(Asset, TypePath)] #[derive(Asset, TypePath)]
@@ -41,7 +43,7 @@ struct ExportManifest {
#[derive(Debug, Deserialize)] #[derive(Debug, Deserialize)]
struct AnimationManifest { struct AnimationManifest {
animations: HashMap<String, String>, animations: HashMap<AnimKind, String>,
} }
impl AssetLoader for BlendSourceLoader { impl AssetLoader for BlendSourceLoader {