mirror of
https://github.com/S4mpsa/InfOS.git
synced 2025-08-04 02:16:05 -04:00

Changing file locations Adding directory structure to imports Renaming update.lua to setup.lua Adding symlinking to setup.lua
14 lines
217 B
Lua
14 lines
217 B
Lua
local function new(class, props)
|
|
local newObject = props or {}
|
|
|
|
for key, value in pairs(class) do
|
|
newObject[key] = value
|
|
end
|
|
|
|
setmetatable(newObject, {__index = class})
|
|
|
|
return newObject
|
|
end
|
|
|
|
return new
|