It looks like you're new here. If you want to get involved, click one of these buttons!
I tried something like:
WorldObj = class(obj, ...)
for o=1, #vargs do
if not vargs[objName] then
self.objs[vargs[objName]] = vargs[obj]
-- however, I can't figure it out.
-- inheritance is not a problem figuring out. But not everything "is-a" object. What of "has-a" or "contains-a" object classes?