diff options
author | David Thompson <dthompson2@worcester.edu> | 2024-06-14 12:02:39 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2024-06-14 12:02:39 -0400 |
commit | 41e7e7152a66f40f3a23439fb0ea4b2b03acbf1c (patch) | |
tree | 00929a0aec3279d580254627de36297f2f75f474 | |
parent | f31dd55460214cbde4d67b7f774bece4faa313c7 (diff) |
Fix some doc typos that daviwil found live on stream.
Only slightly embarrassing!
-rw-r--r-- | doc/api.texi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api.texi b/doc/api.texi index 50ce301..5c598c2 100644 --- a/doc/api.texi +++ b/doc/api.texi @@ -84,7 +84,7 @@ argument known as the @code{alpha} value. See the documentation for the game window. The default behavior is to exit the game. @item -@var{key-press}: Called with four arguments when a key is pressed on +@var{key-press}: Called with three arguments when a key is pressed on the keyboard: @enumerate @@ -349,7 +349,7 @@ Desktop environments use the top-left corner as the origin rather than the bottom-left like Chickadee does, hence the discrepancy here. @item -@var{window-resize}: Called with zero arguments when the window is +@var{window-resize}: Called with two arguments when the window is resized. @enumerate @@ -418,7 +418,7 @@ perform game initialization. @item @var{update}: Called @var{update-hz} times per second to advance the game simulation. This procedure is called with a single argument: The -amount of time that has passed since the last update, in milliseconds. +amount of time that has passed since the last update. @item @var{render}: Called each iteration of the loop to render the game to the desired output device. This procedure is called with a single |