summaryrefslogtreecommitdiff
path: root/doc/api.texi
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2020-11-16 17:24:04 -0500
committerDavid Thompson <dthompson2@worcester.edu>2020-11-16 17:27:10 -0500
commit526a67146ae88b3f120ed64ec95d0af07ce2be82 (patch)
treef3faeab9609dc1afda7490090e8ef4c80c70f215 /doc/api.texi
parentba0c8932395a05187824ce2835eb33331967a45a (diff)
Add elapsed-time procedure.
Diffstat (limited to 'doc/api.texi')
-rw-r--r--doc/api.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/api.texi b/doc/api.texi
index cf82b6f..a8bac69 100644
--- a/doc/api.texi
+++ b/doc/api.texi
@@ -353,6 +353,11 @@ behavior is to simply re-throw the error.
@end deffn
+@deffn {Procedure} elapsed-time
+Return the number of milliseconds that have passed since the game loop
+was started.
+@end deffn
+
@node Input Devices
@subsection Input Devices