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

20 lines
379 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",
2015-05-25 20:25:30 -07:00
"SceneFlagMonitor",
2015-05-25 20:10:00 -07:00
"ActorLister",
"InputHandler",
2015-11-14 16:30:04 -08:00
"JoyWrapper",
2015-05-25 20:10:00 -07:00
}
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