Add attack scripts to fighter manifest

This commit is contained in:
2026-08-30 00:08:20 +02:00
parent 1e5ba52b17
commit af0e567332
6 changed files with 29 additions and 21 deletions
+2 -3
View File
@@ -7,9 +7,7 @@ use strum::IntoEnumIterator;
use strum_macros::EnumIter;
use crate::{
AppState,
fighter::{FighterAttributes, FighterCameraProfile, animation::AnimKind},
game_settings::GameSettings,
AppState, fighter::{FighterAttributes, FighterCameraProfile, animation::AnimKind, attack::AttackKind}, game_settings::GameSettings,
};
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Serialize, Deserialize, Reflect, EnumIter)]
@@ -25,6 +23,7 @@ pub struct FighterManifest {
pub attributes: FighterAttributes,
pub camera: FighterCameraProfile,
pub animations: HashMap<AnimKind, String>,
pub attack_scripts: HashMap<AttackKind, String>,
}
#[derive(Resource)]