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
|
2016-01-13 09:21:24 -08:00
|
|
|
rawset(_G, class, require("classes."..class))
|
2015-05-03 16:46:09 -07:00
|
|
|
end
|