diff options
Diffstat (limited to 'doc')
-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 |