Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --// Class Creation Module
- Class = {}
- function Class:new(o)
- o = o or {}
- setmetatable(o, self)
- if o.OnNew then
- o:OnNew()
- end
- return o
- end
- return Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement