-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.lua
49 lines (37 loc) · 777 Bytes
/
main.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
local _editor = require ("src.editor")
function love.load ()
_editor:Init ()
end
function love.update (dt)
_editor:Update (dt)
end
function love.draw ()
_editor:Draw ()
end
function love.quit ()
_editor:Quit ()
end
function love.textinput (t)
_editor:TextInput (t)
end
function love.keypressed (key)
_editor:KeyPressed (key)
end
function love.keyreleased (key)
_editor:KeyReleased (key)
end
function love.mousemoved (x, y)
_editor:MouseMoved (x, y)
end
function love.mousepressed (x, y, button)
_editor:MousePressed (x, y, button)
end
function love.mousereleased (x, y, button)
_editor:MouseReleased (button)
end
function love.wheelmoved (x, y)
_editor:WheelMoved (y)
end
function love.filedropped (file)
_editor:Filedropped (file)
end