diff options
| author | jussi | 2024-02-18 15:26:21 +0200 |
|---|---|---|
| committer | jussi | 2024-02-18 15:26:21 +0200 |
| commit | 9b27daefc225752f3f24ea862e9c2be13f8addf6 (patch) | |
| tree | cfa74048b9bddb9dc58e8117a4a7af845ee137eb /ReiLua_API.lua | |
| parent | 9de10be468c5151765a0e007d5889971c637fd24 (diff) | |
| download | reilua-enhanced-9b27daefc225752f3f24ea862e9c2be13f8addf6.tar.gz reilua-enhanced-9b27daefc225752f3f24ea862e9c2be13f8addf6.tar.bz2 reilua-enhanced-9b27daefc225752f3f24ea862e9c2be13f8addf6.zip | |
Process renamed to update to be more inline with naming of raylib and common convention.
Diffstat (limited to 'ReiLua_API.lua')
| -rw-r--r-- | ReiLua_API.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ReiLua_API.lua b/ReiLua_API.lua index c5be720..8dd0899 100644 --- a/ReiLua_API.lua +++ b/ReiLua_API.lua @@ -8,8 +8,8 @@ RL={} function RL.init() end ---This function will be called every frame during execution. It will get time duration from last frame on argument 'delta' ---@param delta number -function RL.process( delta ) end ----This function will be called every frame after process and it should have all rendering related functions. Note: Engine will call Raylib functions 'BeginDrawing()' before this function call and 'EndDrawing()' after it. You can still use RL.BeginDrawing() and RL.EndDrawing() manually from anywhere. +function RL.update( delta ) end +---This function will be called every frame after update and it should have all rendering related functions. Note: Engine will call Raylib functions 'BeginDrawing()' before this function call and 'EndDrawing()' after it. You can still use RL.BeginDrawing() and RL.EndDrawing() manually from anywhere. function RL.draw() end ---This function will be called on events input. Content of event table is determined by event type. ---@param event table |
