ExperiencePerLevelEditor ​
Inherits: VBoxContainer
Editor for experience_per_level Dictionary in GameplayConfig Displays a list of levels with their XP requirements and allows editing
Variables ​
HBoxContainer | header_row | |
Label | header_label | |
Button | reset_button | |
ItemList | experience_list | |
Button | edit_button | |
Label | info_label | |
Dictionary | current_experience_dict | {} |
int | max_level | 50 |
GameplayConfig | gameplay_config |
Methods ​
void | setup( config: GameplayConfig ) |
void | load_experience_data( experience_dict: Dictionary, p_max_level: int ) |
Dictionary | get_experience_data() |
Signals ​
experience_changed( new_dictionary: Dictionary ) ​
Variable descriptions ​
HBoxContainer header_row ​
No description yet.
Label header_label ​
No description yet.
Button reset_button ​
No description yet.
ItemList experience_list ​
No description yet.
Button edit_button ​
No description yet.
Label info_label ​
No description yet.
Dictionary current_experience_dict = ​
{level: xp_required}
int max_level = 50 ​
No description yet.
GameplayConfig gameplay_config ​
Reference to the config for default formula
Method descriptions ​
void setup( config: GameplayConfig ) ​
No description yet.
void load_experience_data( experience_dict: Dictionary, p_max_level: int ) ​
No description yet.
Dictionary get_experience_data() ​
No description yet.