Engine
0.0.6
Game engine in lua
Loading...
Searching...
No Matches
application.lua
Go to the documentation of this file.
1
--! @
file
src/lib/
object
/
application
.lua
2
--! @
short
application
object
3
--! @brief metatags, configs and code.
4
5
local P = {
6
meta
={
7
id
=
''
,
8
title=
''
,
9
author=
''
,
10
company=
''
,
11
description=
''
,
12
version
=
''
13
},
14
config = {
15
fps_max = 100,
16
fps_show = 0,
17
fps_drop = 2,
18
fps_time = 1
19
},
20
callbacks={
21
init
=function () end,
22
loop
=function () end,
23
draw
=function () end,
24
exit
=function () end
25
}
26
}
27
28
return P;
version
local function version()
meta
local function meta()
file
local function file(self, file)
exit
local function exit(self)
draw
local function draw(std, game)
init
local function init(args)
application
local application
Definition
main.lua:16
loop
local function loop(std, game, application, dt)
src
lib
object
application.lua
Generated by
1.12.0