This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local function LightCopy(x) | |
local NewT = {} | |
for k,v in pairs(x) do NewT[k]=v end | |
return NewT | |
end | |
function class(ClassName, Template,Extend,NotGlobal) | |
if DEBUG_CLASS then | |
print( | |
"Creating ".. |