mirror of
https://github.com/notwa/mm
synced 2024-11-05 05:49:02 -08:00
19 lines
379 B
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
|