RapidGameFramework
Reusable Godot managers for data-driven small games
Loading...
Searching...
No Matches
combat_card_slot_panel.gd File Reference

Reusable renderer for active combat card/spell slot buttons. More...

Go to the source code of this file.

Namespaces

namespace  combat_card_slot_panel
 

Variables

 combat_card_slot_panel.Dictionary
 Create one active-slot button.
 
 combat_card_slot_panel.formatter
 
 combat_card_slot_panel.button
 
 combat_card_slot_panel.name
 
 combat_card_slot_panel.size_flags_horizontal
 
 combat_card_slot_panel.custom_minimum_size
 
 combat_card_slot_panel.autowrap_mode
 
 combat_card_slot_panel.slot_label
 
 combat_card_slot_panel.text
 
 combat_card_slot_panel.disabled
 
 combat_card_slot_panel.cooldown_ms
 
 combat_card_slot_panel.title
 
 combat_card_slot_panel.energy
 
 combat_card_slot_panel.damage
 
 combat_card_slot_panel.target_summary
 
 combat_card_slot_panel.footer = "Cooling %.1fs" % (float(cooldown_ms) / 1000.0)
 
 combat_card_slot_panel.summary
 
 combat_card_slot_panel.targeting
 
 combat_card_slot_panel.mode
 
 combat_card_slot_panel.range
 
 combat_card_slot_panel.normal
 
 combat_card_slot_panel.bg_color
 
 combat_card_slot_panel.border_color
 
 combat_card_slot_panel.content_margin_left
 
 combat_card_slot_panel.content_margin_right
 
 combat_card_slot_panel.content_margin_top
 
 combat_card_slot_panel.content_margin_bottom
 

Detailed Description

Reusable renderer for active combat card/spell slot buttons.

Scenes provide save-friendly card dictionaries plus slot state. The renderer produces readable button controls with title, cost, damage, mode/range, and cooldown labels while leaving click behavior to the caller.

Definition in file combat_card_slot_panel.gd.