QuestLogButtonUI ​
Inherits: MarginContainer
One quest in the list of the quest log: its name, with a highlight when it is the quest shown. quest_selected is emitted when it is clicked.
Variables ​
Quest | quest | |
bool | is_active | false |
Methods ​
void | set_quest( new_quest: Quest ) |
void | set_active( active: bool ) |
void | deactivate() |
Signals ​
quest_selected( quest_button: QuestLogButtonUI ) ​
Emitted when the button is clicked.
Variable descriptions ​
Quest quest ​
The quest of the button.
bool is_active = false ​
True when this is the quest shown.
Method descriptions ​
void set_quest( new_quest: Quest ) ​
Sets the quest of the button.
void set_active( active: bool ) ​
Marks the quest as the one shown (or not).
void deactivate() ​
Call this from outside to deactivate other buttons