1
0
Fork 0
mirror of https://github.com/notwa/mm synced 2024-11-05 02:49:02 -08:00
mm/Lua/classes.lua

19 lines
379 B
Lua

-- for lazy people.
-- populate the global namespace with all available classes,
-- excluding menu/interface classes.
require "boilerplate"
local classes = {
"Monitor",
"ByteMonitor",
"FlagMonitor",
"SceneFlagMonitor",
"ActorLister",
"InputHandler",
"JoyWrapper",
}
for _, class in ipairs(classes) do
_G[class] = require("classes."..class)
end