Add reset buttons for level and player with corresponding logic and UI updates

This commit is contained in:
gdz
2026-01-02 22:28:11 +01:00
parent f26be55c71
commit 71297fff2d
2 changed files with 48 additions and 3 deletions

View File

@@ -20,3 +20,9 @@ func _getMousePosition(event: InputEvent):
func get_cell_information(cell):
print(cell)
func ResetLevel():
get_tree().reload_current_scene()
func ResetPlayer():
$Player.reset(Vector2(50, 50))