SpellBookPanelUI ​
Spell Book Panel UI - Container for abilities and skill tree Follows the new architecture pattern: setup once, signals handle updates Contains AbilityPanelUI for spells and future SkillTree panel
Variables ​
DisplayMode | current_display_mode | DisplayMode.ABILITIES |
Methods ​
void | initialize_ui( system_hub: GameHost.SystemHub ) |
void | set_display_mode( mode: DisplayMode ) |
void | show_abilities() |
void | show_skills() |
void | refresh_display() |
Enumerations ​
enum DisplayMode ​
State tracking for sub-panel visibility
- ABILITIES =
0 - SKILL_TREE =
1
Variable descriptions ​
DisplayMode current_display_mode = DisplayMode.ABILITIES ​
What the book shows: the abilities or the skill tree.
Method descriptions ​
void initialize_ui( system_hub: GameHost.SystemHub ) ​
Sets the part up with the hub of the game systems: connects the signals it listens to and fills it.
void set_display_mode( mode: DisplayMode ) ​
Method to manually set the display mode
void show_abilities() ​
Public methods for external access
void show_skills() ​
Shows the skill tree.
void refresh_display() ​
Refresh the current display