Handbook
Glossary
update-time ( player -- seconds-passed )
Vocabulary
jamshred
.
player
Inputs
player
an
object
Outputs
seconds-passed
an
object
Definition
USING:
accessors
kernel
math
system
;
IN:
jamshred.player
:
update-time
( player -- seconds-passed )
nano-count
swap
[
last-move>>
-
1000000000
/
]
[
last-move<<
]
2bi
;