Skip to content

MusicChoiceForm ​

Inherits: ConfigForm < VBoxContainer

Inherited by: MusicPartForm, MusicStateForm, MusicTransitionForm

The base of the forms of a Dynamic Music whose fields choose a name of the music (the part of a state, the states of a transition): the editor gives the form the music it belongs to, and the pickers offer its parts and states. refresh_choices() fills them again after a rename or a new item.

Variables ​

DynamicMusicmusic

Methods ​

voidload_config( p_config: Resource )
voidrefresh_choices()

Variable descriptions ​

DynamicMusic music ​

The music the item belongs to (set by the editor before the form loads the item)

Method descriptions ​

void load_config( p_config: Resource ) ​

Opens a resource in the form (from ConfigForm)

void refresh_choices() ​

Fills the pickers from the music