adapted monster structure and save game

This commit is contained in:
Luca 2024-09-22 13:44:49 +02:00
parent 04873e3880
commit aa4afc4c4b
22 changed files with 358 additions and 183 deletions

View file

@ -17,6 +17,10 @@ func _process(delta) -> void:
if save_timer >= time_to_save:
save_timer_reached.emit()
save_timer = 0.0
# Save the game
SaveGame.save()
save_button_held_down = false
else:
save_timer_incremented.emit(ceili((save_timer / time_to_save) * 100))