refactor options to use Time.time to track when key is pressed, instead of using a Real.real value

This commit is contained in:
2025-08-29 12:33:45 +01:00
parent 91bf6854ea
commit a58953e90d
4 changed files with 26 additions and 15 deletions

View File

@@ -47,5 +47,10 @@ struct
val moveProjectileBy = 11
val keyDelay = 0.3
val keyDelay =
let
val time = LargeInt.fromInt 300
in
Time.fromMilliseconds time
end
end