blob: 3dc29323390ed3e89b540fc5247364df116a176b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
local debug = require("Debug")
debug.strict(debug.LEVEL.INFO)
jin.core.onLoad = function()
end
jin.core.onEvent = function(e)
if e.type == "quit" then
jin.core.stop()
elseif e.type == "keydown" then
if e.key == "Esc" then
jin.core.stop()
end
end
end
jin.core.onUpdate = function(dt)
end
jin.core.onDraw = function()
end
|