refactor options to use Time.time to track when key is pressed, instead of using a Real.real value
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user