lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>
> Link to qOOP : http://qooplua.codeplex.com/
>

----
Hero = class():has {x = 10, y = 10, life = 100}
----

Why not allow `class` to take a table-valued argument, then one can
simply write

----
Hero = class {x = 10, y = 10, life = 100}
----

Sorry, I can't comment on your code since I never download
files that require me to agree that I have read the fine print.
Even if the first twelve or so lines appear to be the GPL.