1
0
Fork 0
mirror of https://github.com/notwa/mm synced 2024-11-04 20:09:03 -08:00
mm/Lua/lib/classes.lua
2016-01-12 16:05:31 -08:00

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