...
This commit is contained in:
parent
98199a1543
commit
03c6d311cf
1 changed files with 3 additions and 9 deletions
|
|
@ -20,18 +20,12 @@ func show_list(characters: Array):
|
|||
character_item_list.add_item(character.name)
|
||||
show()
|
||||
|
||||
|
||||
func _on_character_selected(index):
|
||||
var selected_character = characters[index]
|
||||
# (Hier Code zum Anzeigen der Details und Bearbeiten des Charakters)
|
||||
# (Am Ende: StartGame.emit(selected_character))
|
||||
pass
|
||||
|
||||
|
||||
func _on_create_character_button_pressed() -> void:
|
||||
GameEvents.ui_create_character_screen.emit()
|
||||
hide()
|
||||
|
||||
# Doubleclick on Character should start area transition
|
||||
func _on_character_item_list_item_activated(index: int) -> void:
|
||||
pass # Replace with function body.
|
||||
print("Doubleclick for index=", index)
|
||||
var item = character_item_list.get_selected_items()[0]
|
||||
print("=>",character_item_list.get_item_text(item))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue