Skip to content

CombatPhaseEditor ​

Inherits: PanelContainer

Editor for managing BossPhase resources in a PhaseSystem

Variables ​

PhaseSystemphase_system
intcurrent_phase_index0
boolis_loadingfalse
Array[Button]phase_buttons[]
Buttonadd_phase_button
ConditionalEditDialogcondition_dialog
DialogManagerdialog_manager

Methods ​

voidload_phase_system( p_phase_system: PhaseSystem )
PhaseSystemget_phase_system()
AttackStateLogicget_current_attack_logic()
voidcopy_attack_logic_to_phase( attack_logic: AttackStateLogic )

Signals ​

phase_switched( new_phase_index: int, new_attack_logic: AttackStateLogic ) ​

phases_modified() ​

Variable descriptions ​

PhaseSystem phase_system ​

No description yet.

int current_phase_index = 0 ​

No description yet.

bool is_loading = false ​

No description yet.

Array[Button] phase_buttons = [] ​

No description yet.

Button add_phase_button ​

No description yet.

ConditionalEditDialog condition_dialog ​

No description yet.

DialogManager dialog_manager ​

No description yet.

Method descriptions ​

void load_phase_system( p_phase_system: PhaseSystem ) ​

No description yet.

PhaseSystem get_phase_system() ​

No description yet.

AttackStateLogic get_current_attack_logic() ​

No description yet.

void copy_attack_logic_to_phase( attack_logic: AttackStateLogic ) ​

Copy the current attack logic from the main script to the current phase