Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterModule ¶
func RegisterModule(name string, funcs LuaFuncs, metatables LuaMetaTable)
RegisterModule registers a lua module within the global namespace for easy access
Types ¶
type LuaFuncs ¶
type LuaFuncs map[string]lua.LGFunction
LuaFuncs is the declarations of functions within a module
type LuaLoadHook ¶
LuaLoadHook is a function that will be called before the gameloop starts with the state. This is good for fetching global callbacks to call later.
type LuaMetaTable ¶
LuaMetaTable is the declarations of metatables within a module
Click to show internal directories.
Click to hide internal directories.