Implement save and loading games (#8)
This commit is contained in:
@@ -6,12 +6,25 @@ func _on_continue_pressed():
|
||||
|
||||
|
||||
func _on_save_game_pressed():
|
||||
pass
|
||||
$Panel/VBoxContainer.hide()
|
||||
$save_game.show()
|
||||
|
||||
|
||||
func _on_load_game_pressed():
|
||||
pass
|
||||
$Panel/VBoxContainer.hide()
|
||||
$load_game.refresh_savegames()
|
||||
$load_game.show()
|
||||
|
||||
|
||||
func _on_quit_pressed():
|
||||
get_tree().quit()
|
||||
|
||||
|
||||
func _on_save_game_back_button_pressed():
|
||||
$Panel/VBoxContainer.show()
|
||||
$save_game.hide()
|
||||
|
||||
|
||||
func _on_load_game_back_button_pressed():
|
||||
$Panel/VBoxContainer.show()
|
||||
$load_game.hide()
|
||||
|
||||
Reference in New Issue
Block a user