summaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
Diffstat (limited to 'demo')
-rw-r--r--demo/main.lua3
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