summaryrefslogtreecommitdiff
path: root/JGUI/main.lua
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-09-06 20:35:03 +0800
committerchai <chaifix@163.com>2018-09-06 20:35:03 +0800
commite8c0a474ef001caaede8e955d1f99f3d6c542e8d (patch)
tree9aa3f1213ebc5708bbaf96f1bc6f43125e228f85 /JGUI/main.lua
parentab354cd16eb42e897b1b1ea09c39ddfd8b8c1ab0 (diff)
*update
Diffstat (limited to 'JGUI/main.lua')
-rw-r--r--JGUI/main.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/JGUI/main.lua b/JGUI/main.lua
new file mode 100644
index 0000000..93fea92
--- /dev/null
+++ b/JGUI/main.lua
@@ -0,0 +1,19 @@
+local JGUI = require("JGUI")
+
+function jin.core.onLoad()
+
+end
+
+function jin.core.onEvent(e)
+ if e.type == "quit" then
+ jin.core.stop()
+ end
+end
+
+function jin.core.onUpdate()
+
+end
+
+function jin.core.onDraw()
+
+end