You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
408 B
Lua
32 lines
408 B
Lua
--[[
|
|
/*
|
|
* IMPORTS
|
|
*/
|
|
]]
|
|
local libmodal = require('src.libmodal')
|
|
|
|
--[[
|
|
/*
|
|
* MODULE
|
|
*/
|
|
]]
|
|
libmodal.mode = {}
|
|
|
|
--[[SUMMARY: Enter a mode.
|
|
|
|
PARAMETERS:
|
|
`args[1]` => the mode name.
|
|
`args[2]` => the mode callback, or mode combo table.
|
|
`args[3]` => optional exit supresion flag.
|
|
]]
|
|
function libmodal.mode.enter(...)
|
|
local args = {...}
|
|
end
|
|
|
|
--[[
|
|
/*
|
|
* PUBLICIZE MODULE
|
|
*/
|
|
]]
|
|
return libmodal.mode
|