lots of new features

This commit is contained in:
Tabby 2026-06-01 17:40:48 +10:00
parent 278cddcf22
commit 337c4fbb71
3 changed files with 28 additions and 5 deletions

View file

@ -9,5 +9,6 @@ func time_to_seconds(hours_value : int, minutes_value : int) -> int:
func seconds_to_time(seconds : int) -> Dictionary:
var hours : int = floori(float(seconds)/3600)
var minutes : int = int(float(seconds % 3600)/60)
return {"h":hours,"m":minutes}
var just_seconds : int = int(float(seconds % 60))
return {"h":hours,"m":minutes,"s":just_seconds}