summaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2020-10-18 12:21:38 -0500
committersanine-a <sanine.not@pm.me>2020-10-18 12:21:38 -0500
commit2d046ffd16d8ff3a06f92ca438ca6b2d6842ce6a (patch)
tree86681f5a826c92958bb8f2d0528e095ecdff4662 /demo
parent225167461d754b476b4fcc7726c492cc972ca654 (diff)
add LICENSE.md
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