mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-10 02:31:48 +00:00
29 lines
662 B
Lua
29 lines
662 B
Lua
--[[
|
|
core modules
|
|
|
|
if required as the "entire library" (ie by this file), puts everything into
|
|
global namespace as it'll presumably be commonly used
|
|
|
|
if not, several of the modules work as "normal" modules and return a table
|
|
for local-friendly use
|
|
]]
|
|
|
|
local path = ...
|
|
local function relative_file(p)
|
|
return table.concat({path, p}, ".")
|
|
end
|
|
|
|
require(relative_file("oo"))
|
|
|
|
require(relative_file("math"))
|
|
|
|
require(relative_file("table"))
|
|
require(relative_file("stable_sort"))
|
|
|
|
require(relative_file("functional"))
|
|
|
|
vec2 = require(relative_file("vec2"))
|
|
intersect = require(relative_file("intersect"))
|
|
|
|
state_machine = require(relative_file("state_machine"))
|