AnimationSelectionDialog ​
Inherits: ConfirmationDialog
Enhanced animation selection dialog with per-library animation mappings for non-weapon categories
Variables ​
VBoxContainer | library_animations_container | |
Dictionary | library_animation_rows | {} # library_name -> {container, dropdown} |
Button | remove_animation_button | |
String | selection_class_type | "AnimationSelectionAbility" |
AnimationSelection | current_selection | |
bool | is_loading | false |
ResourceManager | resource_manager | |
Array[Dictionary] | available_weapon_tags | [] # [{display_name, attack_tag, weapon_class}] |
Methods ​
void | set_resource_manager( p_resource_manager: ResourceManager ) |
void | edit_animation_selection( selection: AnimationSelection, class_type: String = "", preview_entity_ref: Entity = null ) |
void | create_new_animation_selection( class_type: String, preview_entity_ref: Entity = null ) |
String | get_current_selection_description() |
Signals ​
selection_made( selection: AnimationSelection ) ​
Variable descriptions ​
VBoxContainer library_animations_container ​
No description yet.
Dictionary library_animation_rows = # library_name -> container, dropdown ​
No description yet.
Button remove_animation_button ​
No description yet.
String selection_class_type = "AnimationSelectionAbility" ​
No description yet.
AnimationSelection current_selection ​
No description yet.
bool is_loading = false ​
No description yet.
ResourceManager resource_manager ​
No description yet.
Array[Dictionary] available_weapon_tags = [] # [display_name, attack_tag, weapon_class] ​
No description yet.
Method descriptions ​
void set_resource_manager( p_resource_manager: ResourceManager ) ​
Set the resource manager for loading WeaponClassDefinitions
void edit_animation_selection( selection: AnimationSelection, class_type: String = "", preview_entity_ref: Entity = null ) ​
No description yet.
void create_new_animation_selection( class_type: String, preview_entity_ref: Entity = null ) ​
No description yet.
String get_current_selection_description() ​
No description yet.