Add reset buttons for level and player with corresponding logic and UI updates
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user