diff options
Diffstat (limited to 'demo/main.lua')
-rw-r--r-- | demo/main.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/demo/main.lua b/demo/main.lua index 3ec95cb..afc94d2 100644 --- a/demo/main.lua +++ b/demo/main.lua @@ -2,7 +2,10 @@ for key, value in pairs(honey.input.key) do print(key, value) end +local total_time = 0 + function honey.update(dt) + total_time = total_time + dt print(dt) end |