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

18 lines
337 B
Lua
Raw Normal View History

2015-05-25 20:10:00 -07:00
-- for lazy people.
-- populate the global namespace with all available classes,
-- excluding menu/interface classes.
2015-05-03 10:37:45 -07:00
2015-05-25 20:10:00 -07:00
require "boilerplate"
2015-05-01 08:40:32 -07:00
2015-05-25 20:10:00 -07:00
local classes = {
"Monitor",
"ByteMonitor",
"FlagMonitor",
"ActorLister",
"InputHandler",
}
2015-05-03 16:46:09 -07:00
2015-05-25 20:10:00 -07:00
for _, class in ipairs(classes) do
_G[class] = require("classes."..class)
2015-05-03 16:46:09 -07:00
end