17 lines
322 B
Lua
17 lines
322 B
Lua
![]() |
OTClient = { }
|
||
|
|
||
|
-- TODO: load and save configurations
|
||
|
function OTClient.init()
|
||
|
g_window.move({ x=220, y=220 })
|
||
|
g_window.resize({ width=800, height=600 })
|
||
|
g_window.setTitle('OTClient')
|
||
|
g_window.setIcon('otcicon.png')
|
||
|
|
||
|
addEvent(g_window.show)
|
||
|
return true
|
||
|
end
|
||
|
|
||
|
function OTClient.terminate()
|
||
|
g_window.hide()
|
||
|
end
|